Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:ssh:ssh_tunneling [2006/05/12 14:34] – (old revision restored) 127.0.0.1 | docs:ssh:ssh_tunneling [2008/08/03 00:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
//for VNC, HTTP, and other applications and protocols// | //for VNC, HTTP, and other applications and protocols// | ||
- | Author: | + | Author: |
Date: 04/13/2005 | Date: 04/13/2005 | ||
Line 17: | Line 17: | ||
- Once an SSH (Putty) connection is established, | - Once an SSH (Putty) connection is established, | ||
- Remember that using a VNC application through an SSH tunnel will be slower than using VNC independently. | - Remember that using a VNC application through an SSH tunnel will be slower than using VNC independently. | ||
+ | |||
+ | |||
===== SSH Command Line Options ===== | ===== SSH Command Line Options ===== | ||
Example: | Example: | ||
- | < | + | < |
+ | ssh -1 -L 5901: | ||
+ | </code> | ||
+ | Where... | ||
+ | * -1 is to force ssh version 1 | ||
+ | * 5900 is the vnc port on the host | ||
+ | * localhost is the computer we want to access (this could be another ip within the host's network if we want to control another computer) | ||
+ | * 5901 is the tunneled port on the client (Display 1 in VNC client) | ||
+ | * 80 is the standard http port - it is tunneled here to provide access to the web server on the client | ||
+ | * 4567 is a nonstandard port on the host or the host's router to access ssh | ||
+ | * joe is the user name | ||
+ | * 10.5.1.3 is the external ip address to access the host over the Internet | ||
+ | * after all of this, the client should be able to control a remote vnc server by accessing localhost: | ||
+ | |||
+ | Note - you can also add this, however it is a privileged port only available for root | ||
+ | < | ||
+ | -L 80: | ||
+ | </ | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== |