Difference between revisions of "Remote Login"
From KENET Training
(Created page with "Once access has been provided, you will receive a combination of # username # password # hostname # VPN instructions Once you have configured the VPN, you can then access the...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[File:OpenSSH_logo.png|150px]] | ||
+ | |||
+ | Access is over the Secure Sockets protocol (openssh), | ||
Once access has been provided, you will receive a combination of | Once access has been provided, you will receive a combination of | ||
# username | # username | ||
# password | # password | ||
# hostname | # hostname | ||
+ | # port number | ||
# VPN instructions | # VPN instructions | ||
− | Once you have configured the VPN, you can then access the login server via SSH. | + | [[File:OpenVPN_logo.png|250px]] |
+ | |||
+ | Once you have configured the VPN (OpenVPN), you can then access the login server via SSH. | ||
<code bash> | <code bash> | ||
− | $ ssh | + | $ ssh -p PORTNUMBER username@hostname |
</code> | </code> | ||
+ | |||
+ | === 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, | ||
+ | <code bash> | ||
+ | $ scp -P PORTNUMBER PATHOFFILE username@hostname:~/destination | ||
+ | </code> | ||
+ | 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: | ||
+ | <code bash> | ||
+ | $ scp -P PORTNUMBER username@hostname:~/PATHOFFILE ./destination | ||
+ | </code> | ||
+ | |||
+ | Next: | ||
+ | [[Slurm| Slurm]] | ||
+ | |||
+ | Up: | ||
+ | [[ HPC_Usage| HPC_Usage]] |
Latest revision as of 20:21, 8 May 2025
Access is over the Secure Sockets protocol (openssh), Once access has been provided, you will receive a combination of
- username
- password
- hostname
- port number
- VPN instructions
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