To utilize the encrypted remote login, which is often necessary for secure systems, one must use the ssh protocol for access and scp for file transfer. If you would like to find out more about the technical aspects of SSH, see the following. The following instructions should be enough to get you started using a command line interface on a linux/UN*X system.
To log onto a secure machine (one where telnet, rsh, rlogin, etc. have been disabled), the commands are as follow:
$> ssh <username>@<remotehost>If you are working in the Computer Simulation Laboratory, you
are behind a firewall. As a result, X-forwarding has been disabled,
To get around this, you have to give the -X
option (upper case X). The command
therefore becomes
ssh -X <username>@<remotehost>
Due to the fact that protocols such as FTP and RCP do not utilize encryption of passwords or data, we must use scp for the transfer of files. This command has the same usage as SSH. To copy a file from where you are working to a remote machine, the command is
$> scp <file> <username>@<remotehost>:{<directory>}To retrieve a file from a remote machine, the order is reversed:
$> scp blair@foo.clarku.edu:java/foo.java ./javaOne of the simplest ways to see this information and information in general on a Linux/Unix system is to utilize the manual pages or man pages for short. If I wanted information on how to use SSH or SCP, I would type:
$> man ssh