Remote Login

From KENET Training
Revision as of 20:21, 8 May 2025 by Atambo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OpenSSH logo.png

Access is over the Secure Sockets protocol (openssh), Once access has been provided, you will receive a combination of

  1. username
  2. password
  3. hostname
  4. port number
  5. VPN instructions

OpenVPN logo.png

Once you have configured the VPN (OpenVPN), you can then access the login server via SSH.

$ ssh -p PORTNUMBER username@hostname

Data Transfer

SSH offers a means to transfer data to and from the GPU cluster, if you have data on your machine that you need to transfer to the cluster, you can use the scp command,

$ scp -P PORTNUMBER  PATHOFFILE  username@hostname:~/destination

where PATHOFFILE is the name of the local file to send to the remote machine, and destination is the location on the cluster. On the other hand, to retreive data from the cluste to your local machine, run this from your local machine:

$ scp -P PORTNUMBER username@hostname:~/PATHOFFILE  ./destination

Next: Slurm

Up: HPC_Usage