How do I run a "secure shell"?

Please note: The FAQ pages at the HPCVL website are continuously being revised. Some pages might pertain to an older configuration of the system. Please let us know if you encounter problems or inaccuracies, and we will correct the entries.

The following instructions are specific to the Open-ssh version of ssh. The command structure might differ slightly for other clients, such as the ones supplied with PuTTY.

The Open-ssh package comes with three client programs. These are:
->ssh (secure login shell, similar to telnet)
->scp (secure copy command, similar to remote cp)
->sftp (similar to standard ftp, presently not implemented on the server)

Use thesshcommand to log in the same way as you would with a telnet session:
ssh -l user_name ip_address
where user_name is your username on the target machine (i.e. the SunFire), and ip_address is the 4-digit IP-address of the target machine (e.g. for sfnode0). After issuing this command, you will be prompted for your password.

For Transfering files, you can use the scp command:
scp -o User=user_name local_file ip_address:target_file
where user_name is again the user name on the target machine, and ip_address is the IP-address of the target machine. local_file and target_file are the names of the file copied, on your local machine and the remote target machine, respectively. Make sure you include the proper directory path for target_file

sftp is an encrypted version of the ftp command. It is called similar to the latter:
sftp username@ip_address
at which point it will prompt you for your password. Then you receive an sftp> prompt. From then on you use the same commands as in an ftp session, i.e.dir, get, put,etc. Note that the commands bin, ascii, prompt are not used in sftp. If you need a reminder about available commands, you can type help at the sftp>command prompt. If you want to transfer many files you might want to use the tar command to produce a single archive. The HPCVL Secure Portal also offers a GUI that makes moving multiple files easier.