|
|
|
|
SSH and Connecting to the Alkhayyam from AUB:
ssh (SSH client) is a program for logging into a remote machine and for
executing commands on a remote machine. It is intended to replace rlogin
and rsh, and provide secure encrypted communications between two
untrusted hosts over an insecure network.
- If you are using a Linux/Unix client, the following is recommended:
- If ssh is not installed, the files are availalbe at openssh.org
- Given the ssh client is installed on your client, type:
"ssh alkhayyam.cams.aub.edu.lb -l yourusername"
- You will be prompted for your password, after that you will have established a secure connection with the cluster
- If you are using a Windows client, the following is recommended:
- Download and use Putty which is a free ssh client.
- Given the ssh client is installed, do the following:
Type "alkhayyam.cams.aub.edu.lb" in the "Host Name" field.
- Click on the "SSH" radio button in "Protocols"
- You will be prompted for your password, after that you will have established a secure connection with the cluster
Transfering Files To and From the Cluster
scp copies files between hosts on a network, and comes with installed with ssh.
If not the files are availalbe at openssh.org
It uses ssh for data transfer, and uses the same authentication and provides the
same security
as ssh. Unlike rcp, scp will ask for passwords or passphrases if they are neede
d for authentication.
- On a Unix/linux machine:
We assume you are logged on to your personal computer:
("~" is equivalent to your home directory "/home/yourname")
scp file1.c yourname@alkhayyam.cams.aub.edu.lb:~/work/
(copies file1.c TO your alkhayyam directory "work")
If you are ON alkhayyam.cams.aub.edu.lb, the syntax is the same but instead of "alkhayyam.cams.aub.edu.lb:"
above you would type "yourcomputername".
- On Windows machine:
- PSCP can be used to copy files securely from the windows terminal
- Some people find it easier to work with a graphical interface instead of
the command-line pscp command. Another possibility in this case is to use a free
program called
WinSCP
|
|