config (868B)
1 # ssh config 2 # 3 # I sometimes use pseudo hostnames to select certain configurations, 4 # such as mail and backup. I don't love the solution, but it's the 5 # best one I can come up with. 6 7 #Match User jacob 8 #AddKeysToAgent yes 9 #IdentityAgent "/tmp/ssh-agent-1000" 10 11 Host mail.* 12 IdentityFile /home/jacob/.ssh/keys/etc/mail 13 14 # [wifi.]var.edw 15 16 Host var.edw wifi.var.edw 17 User jacob 18 Identityfile /home/jacob/.ssh/keys/var.edw/%r 19 20 Host mail.var.edw 21 Hostname var.edw 22 23 Host mail.wifi.var.edw 24 Hostname wifi.var.edw 25 26 # jacobedwards.org 27 28 Host jacobedwards.org 29 User jacob 30 IdentityFile /home/jacob/.ssh/keys/jacobedwards.org/%r 31 32 Host host.jacobedwards.org 33 Hostname server9.openbsd.amsterdam 34 VerifyHostKeyDNS=yes 35 Port 31415 36 User jacob 37 IdentityFile /home/jacob/.ssh/keys/jacobedwards.org/jacob 38 39 Host channel 40 Hostname 192.168.0.205 41 Port 8022 42 IdentityFile /home/jacob/.ssh/keys/channel/owner