Remote Access: Difference between revisions

From hpcwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Access to the HPC-clusters is limited from outside the TU Delft network for security reasons. This means that you will have to use either a [https://www.tudelft.nl/ict-handleidingen/vpn VPN-connection] or connect through a [[#Bastion|Bastion]] when you are not at the TU Delft campus.<br>
Access to the HPC-clusters is limited from outside the TU Delft network for security reasons.<br>
*Connecting to the console is done through SSH.
When you use a [https://www.tudelft.nl/ict-handleidingen/vpn VPN-connection] direct access from your desktop/laptop to the HPC is possible. You can use your application of choice for this connection.<br>
*Filetransfers to the cluster are done through SFTP.
When you don't use a VPN you should connect through a [[#Bastion|Bastion server]], which is described below.<br>
*Filetransfers to central storage (i.e. Project shares) are done through sftp.tudelft.nl.
 


== Bastion ==
== Bastion ==
Line 11: Line 11:
== Console access ==
== Console access ==
=== Command line ===
=== Command line ===
When your desktop/laptop supports ssh, you can connect to the bastion server and from there you can connect to the HPC:
When your desktop/laptop supports ssh from the console, you can connect to the bastion server and from there you can connect to the HPC:
   [user@home]$ ssh <netid>@linux-bastion.tudelft.nl
   [user@home]$ ssh <netid>@linux-bastion.tudelft.nl
     netid@linux-bastion.tudelft.nl's password:  
     netid@linux-bastion.tudelft.nl's password:
   [netid@bastion]$ ssh <netid>@hpcXX.tudelft.net
   [netid@bastion]$ ssh <netid>@hpcXX.tudelft.net
     netid@hpcXX.tudelft.net's password:  
     netid@hpcXX.tudelft.net's password:  
Line 21: Line 21:
*When your a student replace <netid>@linux-bastion.tudelft.nl with <netid>@student-linux.tudelft.nl
*When your a student replace <netid>@linux-bastion.tudelft.nl with <netid>@student-linux.tudelft.nl
*Replace <netid>@hpcXX.tudelft.net with the HPC you are connecting to.
*Replace <netid>@hpcXX.tudelft.net with the HPC you are connecting to.
=== putty ===
=== Putty ===
 
When your desktop/laptop doesn't support ssh from the console, you can use [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Putty] (it may already be installed).<br>
*Session Settings<br>Fill in the name of the TU Delft SSH server linux-bastion.tudelft.nl (student-linux.tudelft.nl for students), and select the SSH protocol (port 22):<br>[[File:PuTTY-Hostname.png]]
*Connection>SSH Settings<br>Select Share SSH connections if possible:<br>[[File:PuTTY-ShareConnection.png]]
*Session Settings<br>To store these session settings, go back to the session tab, and save the settings under a session name. To activate a stored session, double-click on the session name:<br>[[File:PuTTY-SaveSession.png]]
== File Transfer ==
== File Transfer ==
=== Command line ===
=== Command line ===

Revision as of 17:48, 27 September 2021

Access to the HPC-clusters is limited from outside the TU Delft network for security reasons.
When you use a VPN-connection direct access from your desktop/laptop to the HPC is possible. You can use your application of choice for this connection.
When you don't use a VPN you should connect through a Bastion server, which is described below.


Bastion

The TU Delft offers two bastion servers. These servers can be used to tunnel your traffic to the HPC.

  • linux-bastion.tudelft.nl for employees or guests.
  • student-linux.tudelft.nl for students.

Console access

Command line

When your desktop/laptop supports ssh from the console, you can connect to the bastion server and from there you can connect to the HPC:

  [user@home]$ ssh <netid>@linux-bastion.tudelft.nl
    netid@linux-bastion.tudelft.nl's password:
  [netid@bastion]$ ssh <netid>@hpcXX.tudelft.net
    netid@hpcXX.tudelft.net's password: 
    Welcome
  [netid@hpcXX]$
  • Replace <netid> with your NetID (also remove the <>)
  • When your a student replace <netid>@linux-bastion.tudelft.nl with <netid>@student-linux.tudelft.nl
  • Replace <netid>@hpcXX.tudelft.net with the HPC you are connecting to.

Putty

When your desktop/laptop doesn't support ssh from the console, you can use Putty (it may already be installed).

  • Session Settings
    Fill in the name of the TU Delft SSH server linux-bastion.tudelft.nl (student-linux.tudelft.nl for students), and select the SSH protocol (port 22):
    PuTTY-Hostname.png
  • Connection>SSH Settings
    Select Share SSH connections if possible:
    PuTTY-ShareConnection.png
  • Session Settings
    To store these session settings, go back to the session tab, and save the settings under a session name. To activate a stored session, double-click on the session name:
    PuTTY-SaveSession.png

File Transfer

Command line

Filezilla

WinSCP

Advanced configs