SSH Information > Linux
If the user is logging in from a computer that is running GNU/Linux then she should follow these instructions. Most of the Linux distributions come with a pre-installed ssh client. To log into a remote machine (say HOSTNAME), just open a command line terminal and type:
ssh -l user-name HOSTNAME
or do:
ssh user-name@HOSTNAME
where, user-name is your Lehigh Network ID (or your email id). When prompted, you should give the password for you Lehigh Network ID (or Lehigh email). To forward X11, use -X switch:
ssh -X user-name@HOSTNAME
If you are using cygwin on a Windows machine, you may have to use:
ssh -Y -X user-name@HOSTNAME
If you have successfully forwarded the X11 connection, then you should be able to run graphical programs. To test, run xclock; it should show an analog clock in a separate window:
If you wish to disable X11 forwarding (in case its on by default), then do:
ssh -o "ForwardX11=no" user-name@HOSTNAME
In order to copy files to and from your machine to the compute server, the user should use the rsync or scp commands. e.g. in order to copy the folder foo/bar/bar1 on corona to directory /bro/co/li in the local machine, do:
scp -r user-name@HOSTNAME:~/foo/bar/bar1 /bro/co/li/.
or do:
rsync -av user-name@HOSTNAME:~/foo/bar/bar1 /bro/co/li/.
Read the man pages of rsync and scp for more options and information.
See our Information/Help page.
Last Modified: April 28, 2009