config/.ssh/config

58 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-04-20 14:31:22 +02:00
#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/:/ /')
2018-02-01 22:34:16 +01:00
Host synology
Hostname 192.168.0.25
User admin
Host lichee
Hostname 192.168.2.100
User root
2016-05-23 14:48:37 +02:00
Host mathux nuka
2014-06-06 11:59:17 +02:00
Hostname mathux.org
2012-09-03 10:41:37 +02:00
Port 22
User mathieu
2019-09-26 11:51:35 +02:00
ForwardX11 yes
ForwardX11Trusted yes
2012-09-03 10:41:37 +02:00
2014-12-22 16:37:08 +01:00
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
2019-08-30 17:12:41 +02:00
Host nukem
2015-08-03 14:40:00 +02:00
Hostname bk.mathux.org
User mathieu
2018-02-01 21:49:35 +01:00
Host spacemarine
Hostname 192.168.0.22
User mathieu
2018-02-01 22:34:16 +01:00
Host efika
Hostname 192.168.0.20
User mathieu
2013-04-16 11:03:47 +02:00
Host vbox
HostName 192.168.56.101
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
LogLevel QUIET
2018-02-01 22:34:16 +01:00
Host pixium
HostName localhost
Port 2222
User mmaret
ProxyCommand ssh nuka -W %h:%p