Using Secure Shell

From NSIwiki

SSH Information and Simple Usage Guide

SSH, secure shell, is a replacement for older protocols with security problems such as telnet, ssh includes SCP, secure copy, that replaces FTP. The main problem with these older protocols has to do with the unencrypted transport of passwords on the internet.

If you want to transfer files and/or work with your files remotely you need to establish a connection to the NSCEE server using these programs. Unix users can find more information on SSH/SCP by checking the man page for the appropriate command. More information can also be found at OpenSSH.org.

For Apple users MacOS comes with an ssh client which is accessible from the command shell.

PC users will need to download and install a client. A free example is putty available from www.putty.org.

Once the ssh/scp client is prepared connecting is straightforward. From the Unix command line type: ssh username@remotehost and press enter. For example, ssh myaccount@clark.nscee.edu, you will be prompted for your password.

Using SCP

Secure copy is a bit more involved because you can copy from or to an account. So below is a copy of the usage examples from the man page. Please notice the placement of commands and arguments in these sequences, also, the position of spaces and, especially, colons.

copy files from your local system to a remote system:

$ scp localfile user@remotehost:/dest/dir/for/file/

or you can use it to copy files from a remote system locally:

$ scp user@remotehost:/dir/for/file/remotefile /dest/dir/for/file