]> git.madduck.net Git - etc/ssh.git/blobdiff - .ssh/config.in

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add paperless hostkey
[etc/ssh.git] / .ssh / config.in
index 091f4682d9a79c8a5b4c3e8ac20bb64d1edb8f5b..3f735ace4a25cd8afd37a5c8f476555f1500ce91 100644 (file)
@@ -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
@@ -204,6 +206,11 @@ Host docspell.int.toni.immo | docspell
   Hostname docspell.int.toni.immo
   HostKeyAlias docspell.int.toni.immo
 
+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
   HostKeyAlias dovecot.int.toni.immo
@@ -229,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