Initial SSH Usage
=================

Notes:
------
* Commands preceded with "$" imply that you should execute the command as
  a general user - not as root.
* Commands preceded with "#" imply that you should be working as root.
* Commands with more specific command lines (e.g. "rtr>" or "mysql>") 
  imply that you are executing commands on remote equipment, or within 
  another program.
* If a command line ends with "\" this indicates that the command continues
  on the next line and you should treat this as a single line.

Exercises Part I
================

1. Connect to your PC with SSH
------------------------------
Windows Users
-------------

If you are using Windows and do not have an SSH client installed you can download a copy of the
free Putty SSH program here:

http://noc/software/

Right click and save the putty.exe file to your Desktop, or some other location where you save 
software. Once saved, double-clic on the putty icon. To connect to your PC enter in the name
of the PC in the "Host Name (or IP address)" box in putty:

	pcN.ws.nsrc.org
	
Next you will receive a security alert from putty that the server's host key is not already cached
on your machine. Click on "Yes" to accept the key.

	When prompted with "Login as" enter "sysadm"
	When asked for a password use the password given in class.
	
That should be it. You are now connected to a terminal session on your machine. To log out you
can type:

	"exit"
	
and this will end your terminal session.

Unix/Linux/Mac OS X Users
-------------------------

Open a terminal window on your machine. If you don't know how to do this ask an instrutor for
help.

At the prompt type:

	ssh sysadm@pcN.ws.nsrc.org
	
When you see the warning that looks something like this:

The authenticity of host 'pc12.ws.nsrc.org (10.10.4.12)' can't be established.
RSA key fingerprint is 59:e2:62:a3:90:d8:a2:43:5a:95:a1:67:ea:ff:c8:b2.
Are you sure you want to continue connecting (yes/no)?

	Type "yes" and press ENTER.

When prompted with "sysadm@pcN.ws.nsrc.org's password:" enter the password given in class.

That should be it. You are now connected to a terminal session on your machine. To log out you
can type:

	"exit"
	
and this will end your terminal session.
