https://www.cac.cornell.edu/wiki/index.php?title=VNC_Tunnel_Windows&feed=atom&action=historyVNC Tunnel Windows - Revision history2024-03-29T10:44:08ZRevision history for this page on the wikiMediaWiki 1.35.5https://www.cac.cornell.edu/wiki/index.php?title=VNC_Tunnel_Windows&diff=2734&oldid=prevSrl6: added TOC2019-05-28T16:51:20Z<p>added TOC</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:51, 28 May 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">__TOC__</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==SSH Tunneling Using PuTTY on Windows==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==SSH Tunneling Using PuTTY on Windows==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY SSH client] can tunnel ports on a remote machine through an SSH connection. What is SSH tunneling? Let's say there is a program (e.g., mail) that is listening for a connection on a certain port of a remote machine. The connection may not be secure. With SSH tunneling, you instead make the connection to an arbitrary port on your local machine. Your SSH client (which has been set up ahead of time) intercepts all traffic to that local port, sends it securely over the Internet via SSH, and causes it to appear at the designated port on the remote machine.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY SSH client] can tunnel ports on a remote machine through an SSH connection. What is SSH tunneling? Let's say there is a program (e.g., mail) that is listening for a connection on a certain port of a remote machine. The connection may not be secure. With SSH tunneling, you instead make the connection to an arbitrary port on your local machine. Your SSH client (which has been set up ahead of time) intercepts all traffic to that local port, sends it securely over the Internet via SSH, and causes it to appear at the designated port on the remote machine.</div></td></tr>
</table>Srl6https://www.cac.cornell.edu/wiki/index.php?title=VNC_Tunnel_Windows&diff=330&oldid=prevAd876: Created page with "==SSH Tunneling Using PuTTY on Windows== The [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY SSH client] can tunnel ports on a remote machine through an SSH connecti..."2015-09-19T00:16:45Z<p>Created page with "==SSH Tunneling Using PuTTY on Windows== The [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY SSH client] can tunnel ports on a remote machine through an SSH connecti..."</p>
<p><b>New page</b></p><div>==SSH Tunneling Using PuTTY on Windows==<br />
The [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY SSH client] can tunnel ports on a remote machine through an SSH connection. What is SSH tunneling? Let's say there is a program (e.g., mail) that is listening for a connection on a certain port of a remote machine. The connection may not be secure. With SSH tunneling, you instead make the connection to an arbitrary port on your local machine. Your SSH client (which has been set up ahead of time) intercepts all traffic to that local port, sends it securely over the Internet via SSH, and causes it to appear at the designated port on the remote machine.<br />
<br />
[[image:ssh-tunnela.png]]<br />
<br />
This can be done with any program that communicates over the Internet, such as vncserver, etc.<br />
<br />
===How to Start a PuTTY Session with SSH Tunneling===<br />
Open PuTTY. In the Session pane that appears, enter the name of the remote machine. Don't change the default port number in this pane.<br />
<br />
Next, navigate the menu on the left until you see '''SSH''' and, beneath that, a '''Tunnels''' option. In this example, a VNC server is listening on the remote port 5901, and we are attempting to tunnel it to local port 10000.<br />
<br />
[[image:PuTTYtunnel.PNG]]<br />
<br />
After filling in the port numbers and "localhost" as shown, it is critical to click the '''Add''' button, or the tunnel will not work. After clicking the '''Add''' button, the pane should look like this:<br />
<br />
[[image:PuTTYtunnelAdded.PNG]]<br />
<br />
Now open the SSH connection. You will possibly need to enter your username and password on the remote machine. Leave this session running in the background; minimize it if you like.<br />
<br />
If the connection does not work, open the PuTTY menu from the top bar of your terminal window:<br />
<br />
[[image:putty-in-session.jpg]]<br />
<br />
Choose '''Event log'''. If the end of the event log lists failed attempts to start the tunnel, then it didn't work. Continue with directions below to try again.<br />
<br />
===How to Start an SSH Tunnel Within a PuTTY Session===<br />
Open the PuTTY menu on the terminal window as shown in the picture above, and choose '''Change Settings...'''. On the left, find in the menu the choice for '''SSH''' and '''Tunnels'''. You should see a place to enter information about the desired tunnel.<br />
<br />
[[image:PuTTYtunnel.PNG]]<br />
<br />
Be sure to click '''Add''' once the information is entered, or the tunnel won't happen. Then click '''Apply''' at the bottom.</div>Ad876