Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 866 Bytes

SSH.md

File metadata and controls

33 lines (24 loc) · 866 Bytes

SSH login

You need to have an account in the server first. Contact Tommy.

You can login the server via ssh by the following command line in your terminal:

ssh hpc02.sbms.hku.hk

Alternatively, you can configure the ssh in your local file ~/.ssh/config (you may need to make the ~/.ssh folder first), and add the following lines:

Host sbms
    User YourUserName
    HostName hpc02.sbms.hku.hk
    ServerAliveInterval 5

Then you can login via the following command line:

ssh sbms

Login remotely

The server is pretected by the University's firewall, so you need to be in the unveristy's netweek physically or via the University's VPN

Once you are in the VPN, you can login via ssh as above section.