config/.ssh/config
2016-05-23 14:48:37 +02:00

59 lines
1.0 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 nuka
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 hector
Hostname bk.mathux.org
User mathieu
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