ssh: add efika

This commit is contained in:
Mathieu Maret 2018-02-01 22:34:16 +01:00
parent 9b6132a221
commit 84b4b258a0
1 changed files with 18 additions and 0 deletions

View File

@ -2,6 +2,14 @@
Host *+*
ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') nc -w1 $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')
Host synology
Hostname 192.168.0.25
User admin
Host lichee
Hostname 192.168.2.100
User root
Host mathux nuka
Hostname mathux.org
Port 22
@ -30,8 +38,18 @@ Host spacemarine
Hostname 192.168.0.22
User mathieu
Host efika
Hostname 192.168.0.20
User mathieu
Host vbox
HostName 192.168.56.101
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
LogLevel QUIET
Host pixium
HostName localhost
Port 2222
User mmaret
ProxyCommand ssh nuka -W %h:%p