Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
admin_grundlagen:ssh [2018/06/07 15:06] o.bohl [SSH über mehrere Hops] |
admin_grundlagen:ssh [2018/07/13 08:11] ingo_wichmann [Client] |
||
---|---|---|---|
Zeile 103: | Zeile 103: | ||
+--------+ +------------+ +------------+ | +--------+ +------------+ +------------+ | ||
| ssh | | Hop Server | | server | | | ssh | | Hop Server | | server | | ||
- | | client | _ _ _ _ ssh _ _ | notebook01 | | notebook02 | | + | | client | _ _ _ ssh _ _ _ | notebook01 | | notebook02 | |
| | ================ssh========tunnel============> | | | | | ================ssh========tunnel============> | | | ||
+--------+ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ +------------+ +------------+ | +--------+ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ +------------+ +------------+ | ||
Zeile 109: | Zeile 109: | ||
===== Client ===== | ===== Client ===== | ||
- | centos 7.4, debian 9: (ab OpenSSH-Version 7.3) | + | centos 7.4, debian 9, ubuntu 18.04: (ab OpenSSH-Version 7.3) |
ssh -J notebook01.linuxhotel.de notebook02.linuxhotel.de | ssh -J notebook01.linuxhotel.de notebook02.linuxhotel.de | ||
Zeile 125: | Zeile 125: | ||
Bei älteren SSH-Versionen: | Bei älteren SSH-Versionen: | ||
- | centos 7, debian 8: | + | centos 7, debian 8, ubuntu 16.04: |
ssh -o ProxyCommand="ssh -W %h:%p notebook01.linuxhotel.de" notebook02.linuxhotel.de | ssh -o ProxyCommand="ssh -W %h:%p notebook01.linuxhotel.de" notebook02.linuxhotel.de |