]> 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 virtual hosts albatross
[etc/ssh.git] / .ssh / config.in
index e6e706312a607bb8b836dafe6845f4dace0657a9..e0fcf1ea53d5a242a808b084e802edc2cb9a26b2 100644 (file)
@@ -3,6 +3,16 @@ Host 127.0.0.1 | localhost
   ForwardX11Trusted yes
   NoHostAuthenticationForLocalhost yes
 
+### VIRT
+
+Host albatross-win10.virt | win10
+  Hostname albatross-win10.virt
+  User martin
+
+Host albatross-tournamentsoftware.virt | ts
+  Hostname albatross-tournamentsoftware.virt
+  User martin
+
 ### ECLIPSE KVM HOST
 
 Host eclipse.madduck.net | eclipse
@@ -259,18 +269,20 @@ Host lotus.gern-vnc
   RemoteCommand pkill x11vnc; x11vnc -display :0 -nopw -localhost -norepeat -gone '/usr/bin/xautolock -locknow'
 
 Host lotus.* | lotus
-  CheckHostIP no
+  HostName lotus.fo.krafftwerk.de
   HostKeyAlias lotus
+  ConnectTimeout 120
   ForwardAgent yes
-  HostName lotus.fo.krafftwerk.de
+  ProxyCommand sh -c 'for i in 1 2 3; do wakeonlan -i 192.168.235.255 dc:fb:48:35:03:04 && sleep $i && socat - TCP:%h:%p,connect-timeout=120 && break; done'
   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'
+  ProxyCommand sh -c 'for i in 1 2 3; do wakeonlan -i 192.168.235.255 dc:fb:48:35:03:04 && sleep $i && socat - TCP:%h:%p,connect-timeout=120 && break; done'
+  RemoteCommand pkill x11vnc; x11vnc -display :0 -rfbport 5960 -nopw -localhost -norepeat -gone '/usr/bin/xautolock -locknow'
+  LocalForward localhost:5960 localhost:5960
 
 Host emerald | emerald.kids.gern | emerald.rw.madduck.net
   CheckHostIP no