SSH (Secure Shell) with Putty

Secure Shell (SSH) is the standard for secure file transfer and remote logins over the Internet. All network traffic is encrypted and optionally compressed to provide strong authentication measures for secure communication. 

A. Setup and connect to the servers

There is no native SSH client program installed in the Windows Operating System.  Please download the SSH client program (PuTTY) to your PC in order to make a SSH connection to a server (host computer).
  1. Download Putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
  2. Save it on the Desktop.
  3. Double click putty on the Desktop.
  4. ssh 01
  5. In the Host Name (or IP address) field, type the remote system you intend to connect to (smpserv.hku.hk in this example).
  6. Select SSH under connection type.
  7. In the Save Session field, type the remote system you intend to connect to (smpserv.hku.hk in this example).
  8. Click the Save button.
  9. ssh 02
  10. Make sure you are using SSH version 2 for communication by clicking SSH at the end of the left sub-window.
  11. For Preferred SSH protocol version, select 2.
  12. ssh 03
  13. Click Session again at the top of the left sub-window.
  14. In Saved Sessions, click Save again.
  15. ssh 04
  16. You will see a pop-up window below. This is a feature of the SSH protocol. It is designed to protect you against a network attack known as “spoofing” which will secretly redirect your connection to a different computer to get your password. Click Yes to continue.
  17. ssh 05
  18. A login screen will pop up.
  19. Enter your account username (HKU Portal UID) and password (HKU Portal PIN) to login the session.
  20. ssh 06

B. Exit Putty

  1. To end the Putty session, type the logout command such as exit or logout. This command might vary between servers.
  2. You can close the session by using the Close button.
0
0

Latest News

    Knowledge Base