Hallo, ich habe folgenden SSH-Tunnel definiert: ssh -v -C -2 -l root -L 1200:192.168.0.1:22 192.168.1.1 'sleep 50'; Wie kann ich bei diesem SSH-Tunnel die IP-Adresse definieren, auf der der Tunnel horchen soll? In der Manpage habe ich nichts entsprechendes gefunden und der Tunnel startet und läuft zwar, aber nur auf 127.0.0.1. Jemand ne Idee? Gruß und Danke, Werner.
From: "Werner Schalk" <werner_schalk@gmx.de>
Hallo,
ich habe folgenden SSH-Tunnel definiert:
ssh -v -C -2 -l root -L 1200:192.168.0.1:22 192.168.1.1 'sleep 50';
Wie kann ich bei diesem SSH-Tunnel die IP-Adresse definieren, auf der der Tunnel horchen soll? In der Manpage habe ich nichts entsprechendes gefunden und der Tunnel startet und läuft zwar, aber nur auf 127.0.0.1. Jemand ne Idee?
Sieh dir mal die Option "-g" in der Manpage an, ich denke, die ist was du suchst. Mfg, Thomas
participants (2)
-
thomas Gräber
-
Werner Schalk