X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/f985d2d64092affec3210231eae55230d7f44c81..475a1924595c31c47c9406f49667aab89e38d1c2:/.ssh/config.in?ds=sidebyside diff --git a/.ssh/config.in b/.ssh/config.in index 5cb17cc..a0ddd72 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -155,6 +155,7 @@ Host visitor*.lehel.madduck.net | visitor*.lehel Host wall.gern.madduck.net | wall.gern | wall Hostname wall.gern.madduck.net + HostKeyAlias wall.gern.madduck.net Host julia.gern.madduck.net | julia.gern | julia Hostname julia.gern.madduck.net @@ -166,8 +167,9 @@ Host julia-luks UserKnownHostsFile /dev/null User root -Host echo.gern.madduck.net | echo.gern | echo - Hostname echo.gern.madduck.net +Host echo.kids.gern | echo.kids | jukebox.kids.gern | jukebox.kids + Hostname echo.kids.gern.madduck.net + HostKeyAlias echo.kids.gern.madduck.net Host visitor*.gern.madduck.net | visitor*.gern StrictHostKeyChecking no @@ -183,7 +185,8 @@ Host lotus.* Host lotus | lotus.rw.madduck.net CheckHostIP no HostKeyAlias lotus - #ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,lehel,rw}.madduck.net; eval fping -aAC1 -t500 $TRIES 2>&1 & eval fping6 -aAC1 -t500 $TRIES 2>&1; wait) | sed -rne 's, : ([[:digit:]]), @\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); echo Targets: \$TARGETS using \${TARGETS%%%%,*} … >&2; exec nc -vq0 \${TARGETS%%%%,*} %p" + #ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,lehel,rw}.madduck.net; eval fping -aAC1 -t500 $TRIES 2>&1 & eval fping6 -aAC1 -t500 $TRIES 2>&1; wait) | sed -rne 's, : ([[:digit:]]), @\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); echo Targets: \$TARGETS using \${TARGETS%%%%,*} … >&2; exec nc -F -vq0 \${TARGETS%%%%,*} %p" + #ProxyUseFdpass yes LocalForward localhost:8385 localhost:8384 Host ini | ini.dyndns.madduck.net @@ -193,13 +196,17 @@ Host ini | ini.dyndns.madduck.net Port 13579 User christine -Host emerald | emerald.rw.madduck.net +Host emerald | emerald.kids.gern | emerald.rw.madduck.net CheckHostIP no HostKeyAlias emerald + HostName emerald.kids.gern + LocalForward localhost:5932 localhost:5900 -Host lelina | lelina.rw.madduck.net +Host lelina | lelina.kids.gern | lelina.rw.madduck.net CheckHostIP no HostKeyAlias lelina + HostName lelina.kids.gern + LocalForward localhost:5931 localhost:5900 Host mother HostKeyAlias mother