79 lines
1.3 KiB
Plaintext
79 lines
1.3 KiB
Plaintext
#from https://wiki.gentoo.org/wiki/SSH_jump_host
|
|
Host *+*
|
|
ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') nc -w1 $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')
|
|
|
|
Host mathux
|
|
Hostname mathux.org
|
|
Port 22
|
|
User mathieu
|
|
|
|
Host mathux_fast
|
|
Hostname mathux.org
|
|
Port 22
|
|
User mathieu
|
|
#Use a single connection
|
|
ControlMaster auto
|
|
ControlPersist yes
|
|
ControlPath ~/.ssh/socket-%r@%h:%p
|
|
#Compression
|
|
Compression yes
|
|
#Low Cpu ciphers
|
|
#Ciphers arcfour,blowfish-cbc
|
|
#Bypass ipv6
|
|
AddressFamily inet
|
|
|
|
Host sirius
|
|
Hostname 172.16.0.97
|
|
Port 22
|
|
User android
|
|
|
|
Host home
|
|
Hostname rutabaga.hd.free.fr
|
|
Port 22
|
|
User pi
|
|
|
|
Host zebulon
|
|
HostName zebulon.local
|
|
User mathieu
|
|
ProxyCommand ssh home -W %h:%p
|
|
|
|
Host zembcorp
|
|
Hostname mzemb.no-ip.org
|
|
Port 65022
|
|
User mathieu
|
|
|
|
Host zmc
|
|
Hostname 82.230.45.73
|
|
Port 65022
|
|
|
|
Host vbox
|
|
HostName 192.168.56.101
|
|
StrictHostKeyChecking no
|
|
UserKnownHostsFile /dev/null
|
|
LogLevel QUIET
|
|
|
|
Host builder
|
|
User builder
|
|
|
|
Host equestria
|
|
User genymobile
|
|
|
|
Host babypi
|
|
User pi
|
|
|
|
Host orange_gw
|
|
# HostName 109.218.105.79
|
|
HostName 80.14.86.137
|
|
# HostName 80.11.75.123
|
|
# HostName orbuilder.no-ip.biz
|
|
User genymobile
|
|
|
|
Host orange_tg
|
|
HostName 192.168.2.4
|
|
User builder
|
|
ProxyCommand ssh orange_gw -W %h:%p
|
|
|
|
Host geny_wiki
|
|
HostName 94.23.204.164
|
|
User root
|