SSH/SFTP

From radwiki
Revision as of 23:25, 10 April 2020 by Admin (talk | contribs) (1 revision imported)
Jump to navigation Jump to search

Shell access is arguably the most important feature of the GPU cluster, as it allows researchers to run their code, e.g. using the anaconda environment.

SSH allows commandline access to the connected server.

SFTP allows file transfers. Store any data you want in your home directory. Currently there is no storage capacity limiter.

To connect with SSH or SFTP, you need to use a client program.

Windows Clients

  • Modern powershell or PuTTy are some of the clients available for SSH
  • WinSCP or Filezilla are typical SFTP clients.

Input your user ID, password and server IP address as appropriate.

SSH Port forwarding or tunnelling

SSH can improve security. If a HTTP connection is too insecure, and you are not on a VPN, consider using SSH to connect to the GitLab or MediaWiki services. In simple terms, your application (e.g. browser, git client) talks to a localhost port instead of an external address/port, the SSH connection then transparently forwards that data.

The syntax in powershell or bash is: ssh -L local_port:remote_address:remote_port username@server.com You can then leave that tunnel open in the background, traffic targeting localport will move through it. This will be the recommended method to connecting with Jupyter Notebooks once the firewalls are hardened.

See also