]> 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:

improved access to lotus with wol
[etc/ssh.git] / .ssh / config.in
index 6e3634e1e405d9a823c3f4530a4bcec1440b0701..7587b23089ae8105cb73dfc3f5e56658b662842a 100644 (file)
@@ -15,8 +15,9 @@ Host eclipse-luks
 Host eclipse-fallback.madduck.net | eclipse-fallback
   HostKeyAlias eclipse.madduck.net
 
-Host emily.madduck.net | emily | eclipse-kvm
-  Hostname emily.madduck.net
+Host eclipse-kvm
+  Hostname 212.18.21.166
+  User martinkrafft
 
 Host matilda.madduck.net | matilda
   Hostname matilda.madduck.net
@@ -167,6 +168,10 @@ Host albatross-luks
   AddressFamily inet
   User root
 
+Host docker.fo.krafftwerk.de | dockerkr
+  HostName docker.fo.krafftwerk.de
+  HostKeyAlias docker.fo.krafftwerk.de
+
 ### TONI
 
 Host gerald.toni.madduck.net | gerald.toni | gerald | gerald.int.toni.immo | martin.int.toni.immo
@@ -182,6 +187,10 @@ Host pve.int.toni.immo | pve
   Hostname pve.int.toni.immo
   HostKeyAlias pve.int.toni.immo
 
+Host pve-crypt
+  Hostname 192.168.231.10
+  Port 60022
+
 Host fileserver.int.toni.immo | fileserver
   Hostname fileserver.int.toni.immo
   HostKeyAlias fileserver.int.toni.immo
@@ -250,18 +259,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