X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/c00e46840e60b230c4b0575d1cc44533fbd01cc0..2cc72c90ff5e59151711aa2cc2e39afa63c8a75d:/.ssh/config.in diff --git a/.ssh/config.in b/.ssh/config.in index 735f908..3f735ac 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -155,9 +155,10 @@ Host dyn*.gern.madduck.net | dyn*.*.gern.madduck.net | dyn*.gern | dyn*.*.gern | ### KRAFFTWERK -Host albatross.toni.madduck.net | albatross +Host albatross.fo.krafftwerk.de | albatross HostName albatross.fo.krafftwerk.de HostKeyAlias albatross.fo.krafftwerk.de + ForwardAgent yes LocalForward localhost:8387 localhost:8384 DynamicForward localhost:9049 Host albatross-luks @@ -171,6 +172,7 @@ Host albatross-luks Host gerald.toni.madduck.net | gerald.toni | gerald | gerald.int.toni.immo | martin.int.toni.immo Hostname gerald.int.toni.immo HostKeyAlias gerald.toni.madduck.net + ForwardAgent yes Host dc01.samba-ad.toni.immo | dc01 Hostname dc01.samba-ad.toni.immo @@ -207,6 +209,7 @@ Host docspell.int.toni.immo | docspell Host paperless.int.toni.immo | paperless Hostname paperless.int.toni.immo HostKeyAlias paperless.int.toni.immo + ForwardAgent yes Host dovecot.int.toni.immo | dovecot Hostname dovecot.int.toni.immo @@ -233,16 +236,33 @@ Host pve-backups.toni.immo | pve-backups ### ROAD WARRIORS Host lotus.gern - HostKeyAlias lotus + HostName lotus + ConnectTimeout 120 + ForwardAgent yes + ProxyCommand ssh wall.gern.madduck.net "wakeonlan -i 192.168.39.255 dc:fb:48:35:03:04 && n=30 && while ! nc -w 1 %h %p; do [ \$n -gt 0 ] || exit 1; printf "%%02d: " \$n >&2; n=\$((\$n-1)); done" + LocalForward localhost:8385 localhost:8384 + +Host lotus.gern-vnc + HostName lotus ConnectTimeout 120 ProxyCommand ssh wall.gern.madduck.net "wakeonlan -i 192.168.39.255 dc:fb:48:35:03:04 && n=30 && while ! nc -w 1 %h %p; do [ \$n -gt 0 ] || exit 1; printf "%%02d: " \$n >&2; n=\$((\$n-1)); done" LocalForward localhost:8385 localhost:8384 + RemoteCommand pkill x11vnc; x11vnc -display :0 -nopw -localhost -norepeat -gone '/usr/bin/xautolock -locknow' Host lotus.* | lotus CheckHostIP no HostKeyAlias lotus + ForwardAgent yes + HostName lotus.fo.krafftwerk.de LocalForward localhost:8385 localhost:8384 +Host lotus-vnc + HostName lotus.fo.krafftwerk.de + HostKeyAlias lotus + ConnectTimeout 120 + LocalForward localhost:5960 localhost:5900 + RemoteCommand pkill x11vnc; x11vnc -display :0 -nopw -localhost -norepeat -gone '/usr/bin/xautolock -locknow' + Host emerald | emerald.kids.gern | emerald.rw.madduck.net CheckHostIP no HostKeyAlias emerald