Difference between revisions of "HOWTO-Tunneling through PuTTY"

From UConn PAN
Jump to navigation Jump to search
(Created page with '== Linux Users == *Right click on the desktop and select <i>Open Terminal</i> *Type <i>ssh username@gluey.phys.uconn.edu</i> *After entering your password this will put you in yo…')
 
Line 17: Line 17:
 
[[File:PuTTY-stats.png|center]]
 
[[File:PuTTY-stats.png|center]]
 
<br>
 
<br>
*In the left tree structure go to Connection->SSH->Tunnels
+
*In the left tree structure go to Connection->SSH->Tunnels. This grants the local source port the ability to see through a "tunnel" to the remote port. If a VNC session is desired then the port number here needs to match the port number of the VNC session. In this example a VNC session would need to be port 59.
 
*In <b>Source Port</b> type <i>5959</i>
 
*In <b>Source Port</b> type <i>5959</i>
 
*In <b>Destination</b> type <i>gluey.phys.uconn.edu:5959</i> and click the Add button
 
*In <b>Destination</b> type <i>gluey.phys.uconn.edu:5959</i> and click the Add button

Revision as of 15:42, 23 July 2013

Linux Users

  • Right click on the desktop and select Open Terminal
  • Type ssh username@gluey.phys.uconn.edu
  • After entering your password this will put you in your home directory (/home/username)

Mac Users

  • Open Finder and navigate to Applications->Utilities and double-click on Terminal OR click on the magnifying glass in the top right corner and search for Terminal
  • Type ssh username@gluey.phys.uconn.edu
  • After entering your password this will put you in your home directory (/home/username)

Windows Users

The recommended program to use is PuTTY. Download the putty.exe file at the link provided. The following guide will assume you are using PuTTY.

  • Open PuTTY
  • On the main screen, under Host Name (or IP address), type gluey.phys.uconn.edu
  • In the Saved Sessions box type gluey and click the save button


PuTTY-stats.png


  • In the left tree structure go to Connection->SSH->Tunnels. This grants the local source port the ability to see through a "tunnel" to the remote port. If a VNC session is desired then the port number here needs to match the port number of the VNC session. In this example a VNC session would need to be port 59.
  • In Source Port type 5959
  • In Destination type gluey.phys.uconn.edu:5959 and click the Add button


PuTTY-tunnel.png
PuTTY-added.png


  • In the tree structure go to Window->Colours
    • If you would like your terminal to be black with white text leave the box Use system colours unchecked
    • If you would like your terminal to be white with black text check the box Use system colours


PuTTY-colours.png


  • Return to the main screen (at the top of the tree structure click Session) and click the save button again
  • With gluey loaded you can now click open
  • The first time you connect a window should pop up. Click yes to connect, then login with your provided username and password


PuTTY-rsa.png


  • After entering your password this will put you in your home directory (/home/username)
  • After the initial setup, logging in requires you to open PuTTY and opening your saved gluey session