Download PuTTY

PuTTY

How to install and connect

PuTTY

How to use PuTTY

Everything below stays on this site. Use the green Download PuTTY button or the Download page to get the installer; those controls use this site’s download flow only.

1. Install on Windows

  1. Download the MSI that matches your PC (64-bit is typical for current Windows).
  2. Run the installer and accept the default components so you get putty.exe, puttygen.exe, pscp.exe, psftp.exe, plink.exe, pageant.exe, and puttytel.exe.
  3. Open the Start menu → PuTTY folder → PuTTY to launch the client.

2. Your first SSH session

  1. In Host Name (or IP address), type the server name or address your administrator gave you.
  2. Set Port to 22 unless you were told a different port.
  3. Choose SSH as the connection type.
  4. Optionally type a session name under Saved Sessions and click Save.
  5. Click Open. On first connect, PuTTY shows a host key fingerprint—confirm it with your administrator before you click Accept.
  6. Log in with your username; use password or key-based auth as your server requires.

3. PuTTYgen (SSH keys)

  1. Open PuTTYgen from the Start menu (installed with PuTTY on Windows).
  2. Choose a key type (for example RSA or Ed25519) and enough bits if RSA (2048 or 4096 are common).
  3. Click Generate and move the mouse in the blank area until the bar fills.
  4. Set an optional but recommended Key passphrase and confirm it.
  5. Click Save private key for a .ppk file, and Save public key if you need a separate public file.
  6. Copy the text in Public key for pasting into OpenSSH authorized_keys file when your server expects that format.
  7. In PuTTY, go to Connection → SSH → Auth → Credentials and browse to your .ppk for key-based login, or load the key into Pageant if you use the agent.

More detail on key formats is on the PuTTYgen page on this site.

4. Linux and macOS (short)

Package names differ by distribution. You usually install a package named putty for the graphical client and putty-tools (or equivalent) for puttygen on the command line. On macOS, common package managers can install the same tools—use whichever your organization supports.

5. PSCP and PSFTP (files)

PSCP copies files over SCP from a command prompt; you pass the host, remote path, and local path similar to other SCP clients. PSFTP opens an interactive SFTP session so you can get and put files. Both use the same host keys and authentication you configured for SSH.

6. Stay safe

  • Only use installers you intentionally obtained from this site’s download flow if that is your policy.
  • Always verify the host key on first connect when connecting to important servers.
  • Protect private keys with a passphrase and restrict who can read the key files.

7. Technical: registry, files, and commands

Administrators often need exact paths PuTTY uses on disk or in the registry. The blocks below mirror the technical reference on the home page.

Windows registry (PuTTY)

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

reg export "HKCU\Software\SimonTatham\PuTTY" putty-settings.reg /y

Linux / Unix data directory

~/.putty/

ls -la ~/.putty/

Install commands

sudo apt update && sudo apt install -y putty putty-tools
winget install PuTTY.PuTTY

Questions? See the FAQ or About pages.