How to Use PuTTY: The Beginner's Guide (First Connection, Saved Sessions, SSH Keys, and File Transfer)
CodexFuse Team · 2026-10-30T09:29:39.355Z · 11 min read
A beginner PuTTY tutorial: download 0.85 safely, make your first SSH connection, handle the host key alert, save sessions, set up PuTTYgen keys, and transfer files.
Learning how to use PuTTY is the fastest way for a Windows user to reach a remote server: it is a free, open-source SSH and terminal client that opens an encrypted command-line session to any machine running an SSH server. PuTTY has been maintained primarily by Simon Tatham since the late 1990s, and it is still actively developed — version 0.85 was released on August 16, 2026, fixing multiple security issues. If you just bought a VPS or got SSH credentials from your host, this PuTTY tutorial takes you from download to first connection, saved sessions, PuTTYgen SSH keys, and file transfer in one sitting. If you have not created your key pair yet, CodexFuse's free SSH key generator builds one in your browser in seconds.
How Do You Connect to a Server With PuTTY? (The 30-Second Answer)
You connect by entering the server's address, choosing SSH, and clicking Open. The full first connection looks like this:
- Open PuTTY. In the Host Name field, enter your server's IP address or hostname (for example,
203.0.113.50orserver.example.com). - Confirm the Port is
22and the Connection type is SSH. - Click Open. On the first connection to a new server, PuTTY shows a host-key security alert — click Accept to continue.
- At the
login as:prompt, type your username (oftenrooton a VPS) and press Enter. - Type your password and press Enter. Nothing appears on screen as you type — that is normal.
- You are in: a terminal window connected to your server.
The rest of this guide turns that first connection into a permanent, password-free, one-click workflow.
What Is PuTTY, and Why Do Windows Users Still Use It in 2026?
PuTTY is a free implementation of SSH and Telnet for Windows and Unix platforms, along with an xterm terminal emulator, per the official PuTTY site — and in 2026 it remains the standard answer when a Windows user needs a graphical SSH client. It supports SSH, Telnet, Rlogin, serial, and raw socket connections, though SSH is the protocol that matters for modern server work because it encrypts the session. Windows 10 and 11 do ship a built-in SSH client you can call from PowerShell with ssh user@hostname, which is enough if you connect to one server occasionally. PuTTY's advantage is its graphical session management: saved sessions, key files, and connection settings for many servers in one place.
One thing beginners should know: the PuTTY project has never owned the domain putty.org — the official site warns it is unaffiliated, and the genuine project lives at the chiark.greenend.org.uk address with the newer putty.software domain also run by the PuTTY team. Always download from the official site.
PuTTY installs as a suite, not a single program. These are the companion tools you get:
| Tool | What it does | When you use it |
|---|---|---|
| putty.exe | The main terminal client | Every interactive SSH session |
| puttygen.exe | Generates SSH key pairs in PuTTY's .ppk format | When you switch from passwords to key auth |
| pageant.exe | SSH key agent that holds your unlocked key | When you want passwordless logins without retyping a passphrase |
| pscp.exe | Command-line secure file copy | Moving files between PC and server from a script or prompt |
| psftp.exe | Command-line SFTP client | Interactive file browsing and transfers |
| plink.exe | Command-line connection tool for automation | Running remote commands from scripts |
If the idea of opening ports and handing out SSH access makes you want a simpler route for trusted devices, the Tailscale beginner guide shows a keyless private-network alternative that pairs well with PuTTY later.
Step 1: Download and Install PuTTY (Get 0.85 From the Official Site)
Download PuTTY only from the official PuTTY site (chiark.greenend.org.uk or the team's own putty.software landing page) — the latest release is 0.85, published August 16, 2026, and it fixes multiple security issues including one affecting Pageant over SSH agent forwarding. Running an outdated PuTTY is genuinely risky here, so check the version number before you install. You get two download styles: the Windows MSI installer, which drops the whole suite into your Start menu, or the portable ZIP, which runs the tools without installing anything.
For this guide, the MSI installer is the easy choice — it installs PuTTY along with PuTTYgen, Pageant, PSCP, and PSFTP in one pass. The portable build is handy if you are on a locked-down machine and cannot install software. Either way, verify the version shows 0.85 in the About dialog after installing.
Step 2: Make Your First SSH Connection (PuTTY First Connection)
Before you open PuTTY, collect three facts from your hosting provider or server: the server's IP address or hostname, the SSH port (22 unless your host changed it), and your username and password. On a fresh VPS this is usually root plus the password your provider emailed you; on shared hosting it is a predefined account name. A managed VPS hosting plan is worth knowing about here, because the provider handles the server side while you only ever use the credentials they hand you.
Open PuTTY — the configuration window appears immediately. Type the IP or hostname into Host Name, leave Port at 22, make sure Connection type says SSH, then click Open. A terminal window appears with a login as: prompt: type your username, press Enter, type your password, press Enter. Your password is invisible while you type — the screen shows nothing, but PuTTY registers every keystroke. Pressing Enter submits it.
If the connection fails immediately, the usual suspects are a wrong IP, a changed port, or SSH access not yet enabled on the server — PuTTY cannot connect where SSH is not listening.
Step 3: Handle the Host Key Alert Correctly
On your first connection to any server, PuTTY shows a security alert about the server's host key and asks you to verify it — and the correct action depends on whether you have connected before. The host key is the server's cryptographic identity; PuTTY remembers it so it can warn you if it ever changes. Here is the rule:
| Situation | What the alert means | What to do |
|---|---|---|
| First connection to your own new server | PuTTY has never seen this server, so it cannot verify the key yet | Click Accept to save the key and continue |
| Alert appears on a server you already accepted | The server's key has changed — this can signal a reinstall, or a man-in-the-middle | Stop. Do not accept. Check with your host whether the key changed legitimately before continuing |
| Connecting to a server someone gave you an address for | You cannot verify the key against anything | Confirm the key fingerprint with the server's owner through a separate channel before accepting |
Once you accept, PuTTY stores the key and you will never see the prompt again for that server — unless the key changes, which is exactly the case you must not ignore.
Step 4: Save Your Sessions So You Never Retype the Hostname Again
A saved session stores the hostname, port, and all your settings under a name, so reconnecting is two clicks. Re-entering the hostname and port every time is tedious the moment you connect more than once a day. Fill in the Host Name, Port, and any other settings you want (including your attached key file from Step 5), then type a name into the Saved Sessions box and click Save. To reconnect, open PuTTY, select the session, click Load, review the settings if you like, and click Open.
Give each session a name you will recognize in six months — prod-web-01 beats server the day you manage three machines. If you do not have a server yet and are still choosing, the what is VPS hosting explainer walks through which tier fits a first project.
Step 5: Switch to SSH Keys With PuTTYgen (The .ppk Workflow)
SSH keys are the upgrade from passwords: a key pair proves who you are without sending a password over the wire, and PuTTYgen is the tool that creates them in PuTTY's own .ppk format. Passwords can be guessed or phished; a 4096-bit private key cannot be typed over someone's shoulder. Generate the pair once, install the public half on the server, and PuTTY unlocks with your key instead of your password.
Here is the PuTTYgen workflow, step by step:
- Open PuTTYgen from the Start menu.
- At the bottom, select RSA as the key type. The default is 2048 bits; setting it to 4096 bits is the stronger choice for a key you will keep for years.
- Click Generate, then move your mouse around the blank area — PuTTYgen uses your mouse movements as randomness for the key.
- Optionally set a key passphrase. This encrypts your private key file, so even if someone steals the file, they cannot use it without the passphrase. Use one.
- Click Save private key and store it somewhere safe, for example
C:\Users\YourName\.ssh\myserver.ppk. This is your.ppkfile. - Copy the public key text from the top of the window — the box labeled for pasting into an OpenSSH
authorized_keysfile. - On the server, add that text to
~/.ssh/authorized_keys(creating the~/.sshdirectory first if needed). The directory must be readable only by your login user.
Finally, tell PuTTY to use the key: open your saved session, go to Connection → SSH → Auth, point the private-key field at your .ppk file, and save the session. From now on, opening the session authenticates with the key — no password prompt at all.
Step 6: Skip the Passphrase With Pageant (Optional)
Pageant is PuTTY's SSH key agent: it holds your unlocked private key in memory so you type the passphrase once per Windows session instead of once per connection. If your key has a passphrase (and it should), every PuTTY login would ask for it — Pageant removes that friction without removing the passphrase's protection. Run pageant.exe, and a small icon appears in the taskbar tray. Right-click it, choose Add Key, and select your .ppk file. Enter the passphrase once.
From then on, every PuTTY, PSCP, PSFTP, and Plink invocation picks up the key automatically. When you are done for the day, closing Pageant (or logging off Windows) wipes the key from memory.
Step 7: Transfer Files With PSCP and PSFTP (PuTTY File Transfer)
SSH is not just for typing commands — the same connection carries files, and PuTTY ships two tools for it. PSCP is the command-line workhorse for quick copies in either direction: pscp file.txt user@host:/home/user/ pushes a file up, and pscp user@host:/home/user/file.txt . pulls one down. Add -r to copy whole folders.
PSFTP is the interactive option: type psftp user@host, then use put and get commands much like an old-school FTP client, with the safety of the SSH channel underneath. If you saved a session, both tools accept the session name instead of the address. Remember that Pageant-loaded keys make both tools passwordless too.
PuTTY vs the Built-In Windows SSH Client: Which Should You Use?
Both are free and both speak SSH — the choice comes down to how often you connect and how many servers you manage. Windows 10 and 11 include ssh in PowerShell and Command Prompt, so a quick one-off connection needs no extra software at all. PuTTY earns its install when connection management becomes a chore:
| PuTTY | Windows built-in SSH | |
|---|---|---|
| Interface | Graphical: point, click, save | Command line only |
| Saved sessions | Built-in named profiles | Manual config file editing |
| Key format | Own .ppk format via PuTTYgen | Standard OpenSSH format directly |
| Key agent | Pageant (tray icon) | ssh-agent (command line) |
| File transfer | PSCP / PSFTP included in the suite | scp / sftp built in |
| Best for | Beginners and multi-server management | Quick one-off connections, scripting |
Neither choice locks you in — keys convert between formats, and learning one teaches you the concepts behind the other.
Sources
- Official PuTTY site (chiark.greenend.org.uk/~sgtatham/putty/) — PuTTY 0.85 released August 16, 2026 with multiple security fixes; the putty-announce mailing list retired; putty.software is the team's own new domain; putty.org is explicitly unaffiliated with the project. Checked October 30, 2026.
- Hostinger, "How to use PuTTY to connect to a server via SSH" (updated October 2026) — install, SSH credential checklist (IP, port, username, password), connect steps, the invisible-password behavior, and PuTTYgen SSH key setup with
.ppkfiles and~/.ssh/authorized_keys. - Hostney, "How to Use PuTTY to Connect to Your Server via SSH" — the companion suite (PuTTYgen, Pageant, PSCP, PSFTP), Windows 10/11 built-in SSH alternative, the first-connect host key alert, and the RSA 4096-bit PuTTYgen option.
- Wingware, "Working With PuTTY" — PuTTYgen passphrase guidance, moving the public key to
~/.ssh/authorized_keyswith correct permissions, loading the key into Pageant, and non-default SSH port configuration. - SanchitGurukul, "PuTTY: A Comprehensive Guide to Remote Login and Session" (September 2026) — open-source terminal emulator supporting SSH, Telnet, Rlogin, serial, and raw sockets; saved-session load/reconnect steps.
Frequently Asked Questions
Is PuTTY still worth installing in 2026?
Yes, if you connect to servers regularly from Windows. Windows 10 and 11 include a built-in SSH client for quick one-off connections, but PuTTY's saved sessions, graphical key management, and the PSCP/PSFTP transfer tools pay off the moment you manage more than one server.
Where is it safe to download PuTTY?
Only from the official PuTTY site (chiark.greenend.org.uk or the team's own putty.software page), where the latest release is 0.85, published August 16, 2026. The domain putty.org is not affiliated with the PuTTY project, so never treat it as the official download source.
Why does PuTTY not show my password while I type?
That is a deliberate security behavior: the password field registers your keystrokes but displays nothing, so nobody watching your screen can read it. Type carefully and press Enter — PuTTY submits exactly what you typed.
PuTTY warned me the host key changed on a server I already use. What should I do?
Stop and investigate before clicking anything. A changed host key can mean the server was reinstalled, but it can also mean someone is intercepting your connection. Contact your hosting provider or server admin through a separate channel and confirm the new fingerprint before accepting it.
Can I use PuTTY on macOS or Linux?
PuTTY has Unix builds, but on macOS and Linux you rarely need it — both systems ship a native SSH client in the terminal, which handles keys, agent forwarding, and file transfer (scp/sftp) without extra software. PuTTY remains primarily a Windows story.