This shows you the differences between two versions of the page.
|
blog:linux:ssh_tunneling [2008/06/17 13:34] donginn |
blog:linux:ssh_tunneling [2008/06/18 10:55] (current) donginn |
||
|---|---|---|---|
| Line 14: | Line 14: | ||
| * 5901 can be any other ports to tunnel. 5901 is used for VNC | * 5901 can be any other ports to tunnel. 5901 is used for VNC | ||
| - | There is another good example to do ssh-tunneling for accessing the secondary remote host so that we don't have to do "ssh" twice (first ssh to the first remote host and then second ssh to the second remote host). | + | There is another good example to do ssh-tunneling for accessing the secondary remote host so that we don't have to do "ssh" twice (e.g., first ssh to the first remote host and then second ssh to the second remote host). |
| <code> | <code> | ||
| ssh oscar.osl.iu.edu -L 10000:192.168.0.101:22 -g | ssh oscar.osl.iu.edu -L 10000:192.168.0.101:22 -g | ||