Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
linux:ssh [2019/09/26 16:57] – [SSH KEY-Authentication] tmade | linux:ssh [2019/11/20 13:01] – [ssh over Proxy] tmade |
---|
==== ssh Tunnel ==== | ==== ssh Tunnel ==== |
ssh -L 4242:suse10.site:110tmade@suse10.site #user tmade forwards the connection comming in on port 4242 of his local host suse10 to port 110(POP3) on the remote host suse10 via ssh tunnel (port forwarding) | ssh -L 4242:suse10.site:110tmade@suse10.site #user tmade forwards the connection comming in on port 4242 of his local host suse10 to port 110(POP3) on the remote host suse10 via ssh tunnel (port forwarding) |
| |
| ====ssh over Proxy ==== |
| |
| ssh -o ProxyCommand="nc -X connect -x proxy_host_or_IP:port %h %p" username@hostname |
| ssh -o PORT=2022 -o ProxyCommand="nc -X connect -x proxy_host_or_IP:port %h %p" username@hostname #with ssh port 2022 |
| |
| **Hint**: Package "netcat-openbsd" which contains the programm "nc" has to been installed! |
| |
==== X11 ==== | ==== X11 ==== |