TechBuzzPro

How to Use SSH on Windows With PuTTY

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To use SSH on Windows with PuTTY, download PuTTY from the official site (putty.org or the chiark.greenend.org.uk page it links to), open PuTTY, type the server's hostname or IP address in the Host Name field, leave the port at 22 unless your server admin told you otherwise, make sure Connection type is set to SSH, and click Open. A black terminal window appears, you log in with your username and password, and you have an SSH session. PuTTY is a free terminal emulator and SSH client for Windows that needs no installation if you grab the standalone .exe, and it also ships with companion tools (PuTTYgen for keys, Pageant for holding keys in memory, and pscp/psftp for file transfer) that cover most of what people need from SSH on Windows.

What You'll Need

  • A Windows PC (PuTTY runs on Windows 10 and 11, including 64-bit builds).
  • PuTTY itself, downloaded from the official project page. Avoid third-party download portals that bundle installers with extra software.
  • The hostname or IP address of the server you want to reach, plus the SSH port if it is not the default 22.
  • Your login credentials: a username and either a password or an SSH private key file, depending on how the server is configured.
  • Network access to the server. If you are on a corporate or campus network, the SSH port may be blocked, so check with whoever runs the network.

Step-by-Step

  1. Download PuTTY. Go to the official PuTTY download page and grab the 64-bit MSI installer (easiest for most people) or the standalone putty.exe if you want to run it without installing. Note that menu labels and installer options can differ slightly between PuTTY versions.
  2. Install or place the file. If you used the MSI, run it and accept the default options. If you downloaded the standalone exe, put it somewhere you can find again, such as a folder in your user profile, and optionally create a desktop shortcut.
  3. Open PuTTY. The main window is the Session configuration screen. You do not need to touch the other categories in the left-hand tree for a basic connection.
  4. Enter the host. In the Host Name (or IP address) field, type the server's address, for example 192.168.1.50 or server.example.com. Do not add ssh:// or a trailing path; PuTTY wants just the host.
  5. Check the port and connection type. The Port field defaults to 22, which is correct for standard SSH. Change it only if your server administrator gave you a custom port. Confirm Connection type is set to SSH.
  6. Click Open. A terminal window opens and, the first time you connect to a new server, PuTTY shows a security alert with the server's host key fingerprint. Verify the fingerprint with your server administrator or against a known value before clicking Accept. Accepting an unverified key is how people get tricked by impostor servers.
  7. Log in. Type your username at the login as: prompt and press Enter, then type your password. The password does not appear on screen as you type, which is normal. Press Enter.
  8. Use the session. You now have a shell prompt. Run your commands as you would on the server directly. To end the session, type exit or close the window.
  9. Save the session (optional but useful). Back on the Session screen, type a name in Saved Sessions and click Save. Next time, select the saved entry and click Load, then Open.
  10. Set up key-based login (recommended). Open PuTTYgen from the Start menu, click Generate, move the mouse over the blank area to create randomness, then save the private key to a safe place and copy the public key text into the server's ~/.ssh/authorized_keys file. In PuTTY, go to Connection > SSH > Auth > Credentials and browse to your private key file under Private key file for authentication. Save the session again so the setting sticks.

Common Mistakes

  • Pasting the password and wondering why nothing shows. SSH deliberately hides password input. Just type it and press Enter.
  • Putting the username in the Host Name field. PuTTY expects only the host there. The username goes at the login prompt, or in Connection > Data > Auto-login username.
  • Clicking Accept on every host key warning. If the key changes for a server you have connected to before, that is a warning sign, not routine. Stop and check before proceeding.
  • Using a PuTTYgen key in the wrong format. PuTTY needs its own .ppk format. If you have an OpenSSH key, load it into PuTTYgen and save it as .ppk.
  • Downloading from an unofficial mirror. Bundled adware installers are common. Stick to the official download page.
  • Forgetting to save the session after changing settings. Settings you change in the tree apply to the current window only unless you go back to Session and click Save.

Tips

  • Use Pageant, the PuTTY authentication agent, to load your .ppk once per Windows session so you are not prompted for a key passphrase on every connection.
  • Right-click inside the PuTTY window pastes from the clipboard by default; that is faster than the menu.
  • Increase the scrollback buffer under Window > Translation or the session settings if you work with long command output.
  • Keep PuTTY updated. Older versions may lack fixes for security issues in the SSH protocol implementation.
  • Use pscp or psftp, which come with PuTTY, to copy files over the same SSH connection without a separate tool.

Troubleshooting

Connection refused or timed out. Check the hostname and port, confirm the server is running, and test whether your network blocks the port. A firewall on the server or the local network is the usual culprit.

Access denied. Recheck the username and password. If the server only allows key authentication, password login will fail by design, so load your private key in the Auth settings.

Host key mismatch warning. If the server was rebuilt or its key legitimately changed, an administrator can confirm the new fingerprint. If nobody can confirm it, do not connect.

Garbled or frozen terminal. Close the window and reconnect. If it repeats, check the terminal type setting under Connection > Data and try a different value.

PuTTY will not start or is flagged by antivirus. Re-download from the official page and verify you have the right build for your Windows version.

Frequently Asked Questions

Is PuTTY still needed on Windows 10 and 11?

No. Windows ships with an optional OpenSSH client you can enable from Settings > Apps > Optional features, and you can then run ssh from Command Prompt or PowerShell. PuTTY remains popular for its saved sessions, PuTTYgen and Pageant.

Does PuTTY support SFTP?

Not inside the terminal window itself. Use the bundled psftp program or a separate SFTP client for file transfers over SSH.

Can I use PuTTY for Telnet or serial connections?

Yes. Change the Connection type to Telnet or Serial on the Session screen. Telnet is unencrypted, so avoid it for anything sensitive.

Where does PuTTY store saved sessions?

In the Windows registry under your user account, which is why saved sessions follow your profile rather than the program folder.

Can I copy files with drag and drop in PuTTY?

No. PuTTY is a terminal only. Use pscp, psftp or a separate SFTP client to move files.

Is it safe to save my password in PuTTY?

PuTTY does not store passwords. Key-based authentication with a passphrase-protected .ppk file is the safer approach.