From b5a9f936541e04b5aac7045b3c9a89b5029e3a34 Mon Sep 17 00:00:00 2001 From: Ueli Bosshard Date: Sun, 6 Jul 2025 20:22:57 +0200 Subject: [PATCH] updated ssh config --- .ssh/config | 98 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 65 insertions(+), 33 deletions(-) diff --git a/.ssh/config b/.ssh/config index 61542a1..1e8f566 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,41 +1,29 @@ -Host backup.lilo.ch - User root - ProxyCommand ssh -q -W 172.23.0.21:22 u.utf3.ch - ForwardAgent yes - AddressFamily inet - IdentityFile ~/.ssh/id_ed25519 - -Host minecraft.lilo.ch - User root - ProxyCommand ssh -q -W 172.23.0.22:22 u.utf3.ch - ForwardAgent yes - AddressFamily inet - -Host dev.lilo.ch - User root - ProxyCommand ssh -q -W 172.23.0.23:22 u.utf3.ch - ForwardAgent yes - AddressFamily inet - -Host h.utf3.ch - User ueli - ForwardAgent yes - -Host u.utf3.ch - User root - ForwardAgent yes - -Host sb.itsme.ch +Host ht.lilo.ch User root ForwardAgent yes Host co.lilo.ch User root ForwardAgent yes + #StrictHostKeyChecking no -Host co2.lilo.ch +Host unlock-ht.lilo.ch + Hostname ht.lilo.ch + HostKeyAlias unlock-ht.lilo.ch User root - ForwardAgent yes + RequestTTY yes + RemoteCommand cryptroot-unlock + #UserKnownHostsFile ~/.ssh/alternative-KnownHosts + #StrictHostKeyChecking no + +Host unlock-co.lilo.ch + Hostname co.lilo.ch + HostKeyAlias unlock-co.lilo.ch + User root + RequestTTY yes + RemoteCommand cryptroot-unlock + #UserKnownHostsFile ~/.ssh/alternative-KnownHosts + #StrictHostKeyChecking no Host o1.lilo.ch User ubuntu @@ -56,12 +44,13 @@ Host he-file ForwardAgent yes Host pf-fw - HostName ueli.dyn.itsme.ch + HostName 192.168.0.1 User root ForwardAgent yes Host pf-file - ProxyCommand ssh -q -W 172.23.254.32:22 co.lilo.ch + HostName 192.168.0.2 + #ProxyCommand ssh -q -W 172.23.254.32:22 co.lilo.ch User root ForwardAgent yes @@ -70,6 +59,49 @@ Host bu-fw User root ForwardAgent yes +Host z100 + HostName 192.168.0.3 + User ueli + ForwardAgent yes + +Host kasm + HostName 192.168.0.130 + User root + ForwardAgent yes + +#Host homeassistant +# HostName 192.168.0.200 +# User ueli +# ForwardAgent yes + +#Host backup.lilo.ch +# User root +# ProxyCommand ssh -q -W 172.23.0.21:22 u.utf3.ch +# ForwardAgent yes +# AddressFamily inet +# IdentityFile ~/.ssh/id_ed25519 + +#Host minecraft.lilo.ch +# User root +# ProxyCommand ssh -q -W 172.23.0.22:22 u.utf3.ch +# ForwardAgent yes +# AddressFamily inet + +#Host dev.lilo.ch +# User root +# ProxyCommand ssh -q -W 172.23.0.23:22 u.utf3.ch +# ForwardAgent yes +# AddressFamily inet + +#Host h.utf3.ch +# User ueli +# ForwardAgent yes + +#Host u.utf3.ch +# User root +# ForwardAgent yes + Host * ServerAliveInterval 10 - ServerAliveCountMax 99 + ServerAliveCountMax 99 +