Difference between revisions of "HowTos:Connect to login servers via ssh"

From CompudocWiki
Jump to: navigation, search
(initial instructions)
 
(end of putty instructions)
Line 17: Line 17:
 
If this is the first time you are using PuTTY to connect to this login server on your machine then you are likely to be prompted to confirm the encryption key is correct as in the following window, just click on "Yes" (1):
 
If this is the first time you are using PuTTY to connect to this login server on your machine then you are likely to be prompted to confirm the encryption key is correct as in the following window, just click on "Yes" (1):
 
[[Image:Putty-confirm-key.jpg|center]]
 
[[Image:Putty-confirm-key.jpg|center]]
 +
You will then be prompted for your username and your password and that's it.
 
=== Download, Install and use SSH Workstation ===
 
=== Download, Install and use SSH Workstation ===
 
== Use SSH on an Mac OS X computer ==
 
== Use SSH on an Mac OS X computer ==
 
== Use SSH on a Linux/Unix computer ==
 
== Use SSH on a Linux/Unix computer ==

Revision as of 11:23, 7 November 2005

In order to open a terminal session to one of our login servers (math.princeton.edu or pacm.princeton.edu) you have to use SSH. SSH stands for "Secure Shell" and it is an encrypted protocol. SSH ensures your password and all of your communication inside a session are kept safe from eavesdropping. SSH also allows you to copy files to and from your Math/PACM account (through SCP - secure copy).

Please follow instructions for the operating system you are using.

Use SSH in your browser with a Java applet/Web SSH

If you are using a browser with a Java plugin then you can just open up one of the links found on our Main_Page for Web SSH. I.e. either a http://math.princeton.edu/ssh.html or http://math.princeton.edu/ssh/access-separatenew.shtml (different version, try if the first doesn't work). If the browser and Java plugin are properly configured then the Web SSH applet will open and you will be asked your username and password.

This method is particularly usefull on public computers or any other computer where it would be difficult to install an SSH program.

Use SSH on a Microsoft Windows computer

On Windows we recommend two SSH programs - "PuTTY" and/or "SSH Workstation". "PuTTY" is smaller and easier to install but "SSH Workstation" has a nice graphical interface to copy files to and from your Math/PACM account that resembles Windows Explorer.

Download and use PuTTY

PuTTY can be downloaded from the authors website (look for PuTTY for Windows x86) or just directly pickup the latest version. Download PuTTY somewhere where you can easily use it, for example to your Desktop.

Now run PuTTy - i.e. find where you downloaded it (probably Desktop) and double click on its icon. You will get a "PuTTY Configuration" window where you should type for "Host Name" math.princeton.edu or pacm.princeton.edu (1) and then click on "Open" (2):

Putty-open.jpg

If this is the first time you are using PuTTY to connect to this login server on your machine then you are likely to be prompted to confirm the encryption key is correct as in the following window, just click on "Yes" (1):

Putty-confirm-key.jpg

You will then be prompted for your username and your password and that's it.

Download, Install and use SSH Workstation

Use SSH on an Mac OS X computer

Use SSH on a Linux/Unix computer