]> git.madduck.net Git - etc/ssh.git/commitdiff

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:

lotus vnc stanzas
authormartin f. krafft <madduck@madduck.net>
Thu, 23 May 2024 11:45:23 +0000 (13:45 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 23 May 2024 11:46:29 +0000 (13:46 +0200)
.ssh/config.in

index 735f908aa3d35b40db40ff0c178265242a5e85f8..0078a9b2b7ce93aa6c8aa8da1d23a96f8fce3e3f 100644 (file)
@@ -233,16 +233,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