SSH (Secure Shell) with Putty » Information Technology Services (2024)

Home > KB > Email & Communications > eNotices System > 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 fromhttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
  2. Save it on theDesktop.
  3. Double clickputtyon theDesktop.
  4. SSH (Secure Shell) with Putty » Information Technology Services (1)
  5. In theHost Name (or IP address)field, type the remote system you intend to connect to (smpserv.hku.hk in this example).
  6. SelectSSHunder connection type.
  7. In theSave Sessionfield, type the remote system you intend to connect to (smpserv.hku.hk in this example).
  8. Click theSavebutton.
  9. SSH (Secure Shell) with Putty » Information Technology Services (2)
  10. Make sure you are using SSH version 2 for communication by clickingSSHat the end of the left sub-window.
  11. ForPreferred SSH protocol version,select2.
  12. SSH (Secure Shell) with Putty » Information Technology Services (3)
  13. ClickSessionagain at the top of the left sub-window.
  14. InSaved Sessions, clickSaveagain.
  15. SSH (Secure Shell) with Putty » Information Technology Services (4)
  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. ClickYesto continue.
  17. SSH (Secure Shell) with Putty » Information Technology Services (5)
  18. A login screen will pop up.
  19. Enter your accountusername (HKU Portal UID)andpassword (HKU Portal PIN) to login the session.
  20. SSH (Secure Shell) with Putty » Information Technology Services (6)

B. Exit Putty

  1. To end the Putty session, type the logout command such asexitorlogout. This command might vary between servers.
  2. You can close the session by using theClosebutton.

5

8

SSH (Secure Shell) with Putty » Information Technology Services (2024)

FAQs

How to connect to shell using PuTTY SSH? ›

Double click putty on the Desktop. In the Host Name (or IP address) field, type the remote system you intend to connect to (smpserv.hku.hk in this example). Select SSH under connection type. In the Save Session field, type the remote system you intend to connect to (smpserv.hku.hk in this example).

What is SSH Secure Shell and how does it work? ›

What is the Secure Shell (SSH) protocol? The Secure Shell (SSH) protocol is a method for securely sending commands to a computer over an unsecured network. SSH uses cryptography to authenticate and encrypt connections between devices.

How to check SSH connection using PuTTY? ›

Start by opening PuTTy. Enter your hostname or IP address into the provided field and set the SSH port to 22. Next, click the Open button to open the command line window. In the command line window, type in the SSH username at the login as prompt and then press enter on your keyboard.

What is the SSH in PuTTY? ›

PuTTY is most commonly used: as a File Transfer Protocol PuTTY can connect to a remote machine through SSH. SSH (Secure shell) is a protocol that allows a secure connection.

How to connect with secure shell? ›

How to use an SSH client
  1. Start PuTTY.
  2. In the Host Name (or IP address) text box, type the hostname or IP address of the server where your account is located.
  3. In the Port text box, type 7822. ...
  4. Confirm that the Connection type radio button is set to SSH.
  5. Click Open.

How to connect with SSH command? ›

Connect
  1. Open a Command prompt window on your technician PC.
  2. Connect to the device: To connect using a username and password: Windows Command Prompt Copy. ssh user@192. 168. ...
  3. Enter the password for your user if you're connecting with a username and password, or if you configured your key to require a password.
Jun 24, 2021

How do I OpenSSH Secure Shell? ›

Logging into Your Server via Secure Shell (SSH)
  1. Open the terminal (command line interface) on your computer. ...
  2. You will see the name of your user on your terminal screen and a blinking cursor. ...
  3. The command to log in via SSH is ssh. ...
  4. Press Enter.
  5. A prompt will appear asking for your server's root password.

How does SSH work step by step? ›

The steps involved in creating an SSH session go like this:
  1. Client contacts server to initiate a connection.
  2. The server responds by sending the client a public cryptography key.
  3. The server negotiates parameters and opens a secure channel for the client.
  4. The user, through their client, logs into the server.
May 21, 2020

How do I make sure my SSH is secure? ›

Here are some best practices to ensure your authentication bulwark is as strong as it can be:
  1. Require strong passwords. ...
  2. Enable two-factor authentication. ...
  3. Regularly update passwords. ...
  4. Implement account lockouts. ...
  5. Educate users. ...
  6. Use SSH keys.

How to remote using PuTTY? ›

Start PuTTY by double-clicking its icon.
  1. When a PuTTY Configuration window opens select Session (it should be selected by default) from the Category panel on the left. ...
  2. In the new dialog box enter your Math username and password.
  3. Once you see the prompt, you are connected to the remote computer.

How do I see who is connected to my SSH? ›

To list all connected SSH sessions, you can use the “who -a” command. The -a option shows all users, including those who are not logged in through the system console. The result will show your username, terminal, and login date and time.

How does PuTTY work? ›

It allows you to connect to remote computers or devices using various protocols such as secure socket shell (SSH), Telnet, login, and more. Putty is widely used by system administrators, network engineers, and developers for managing and controlling remote systems.

Do I need PuTTY for SSH? ›

SSH, or Secure Shell, is a secure protocol for connecting to a remote server. To establish an SSH connection, you will need an SSH client app like PuTTY and credentials like the server's IP address, SSH port, SSH username, and SSH password.

Is PuTTY SSH safe? ›

A recently disclosed vulnerability in the popular SSH client PuTTY (versions 0.68 to 0.80) could allow attackers to recover private encryption keys, potentially enabling them to impersonate users and access sensitive systems.

How to enable shell in PuTTY? ›

Shell access to your server using SSH (PuTTY for Windows)
  1. Download and install PuTTY. ...
  2. Enable SSH on your account if you haven't already. ...
  3. Configure PuTTY to connect to your home directory. ...
  4. In future, to reconnect to the same server again you'll simply need to select your Saved Session, click Load and then Open.

How to connect to a Linux server from PuTTY? ›

Configure your connection
  1. In the PuTTY Configuration window, enter the following values: In the Host Name field, enter the Internet Protocol (IP) address of. your Cloud Server. Ensure that the connection type is set to SSH. (Optional) In the Saved Sessions field, assign a name for. this connection. ...
  2. Click Open.

How to connect to a host in PuTTY? ›

For simple use, all you need to do is to enter the domain name or IP address of the host you want to connect to in the Host Name field and click Open (or press Enter). A domain name looks like students.example.edu . An IP address looks something like 78.99. 129.32 .

How do I connect to a port in PuTTY? ›

When you first open PuTTY, the Configuration window appears. On the Configuration window, click Serial. Type the COM port to which you want to connect and the Speed (Baud rate) you want to use. Optionally, click Save to save the session for a faster set-up the next time you use PuTTY.

Top Articles
American Express Blue Cash Everyday Reviews: 2,800+ User Ratings
Credit note - what is a credit note? | SumUp Invoices
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
Non Sequitur
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 6225

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.