瀏覽代碼

Specify identity file for each home server

DricomDragon 4 年之前
父節點
當前提交
6163a894f7
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Install/Templates/examples/ssh/config

+ 4 - 0
Install/Templates/examples/ssh/config

@@ -7,18 +7,22 @@ IdentityFile ~/.ssh/id_isf_rsa
 # My own servers
 ## Jupiter
 Host jupiter.local
+IdentityFile ~/.ssh/id_rsa
 Port 7025
 HostName 192.168.1.101
 
 Host jupiter
+IdentityFile ~/.ssh/id_rsa
 Port 7025
 HostName jovian-hersemeule.eu
 
 ## March
 Host march.local
+IdentityFile ~/.ssh/id_rsa
 Port 7026
 HostName 192.168.1.104
 
 Host march
+IdentityFile ~/.ssh/id_rsa
 Port 7026
 HostName jovian-hersemeule.eu