Ssh jump-host
Voraussetzung
Auf dem Jump Host muss folgendes in der /etc/ssh/sshd_config aktiv sein.
AllowTcpForwarding yes
Auf dem Host eintragen
- cat ~/.ssh/config
Host ns
Hostname 10.81.213.21
User kit
ProxyJump kit@192.168.10.213:6666
Host rocky
Hostname 10.88.213.81
User kit
ProxyJump 192.168.10.213:6666
Einlogen vom Host
- ssh ns
Manuell ohne Konfigurationsdatei
- ssh -J kit@192.168.10.213:6666 kit@10.88.213.21