Skip to Content

Install PuTTY and make your first connection

Install

  1. Open the PuTTY download page and take the 64-bit x86 MSI (or Arm64 on Snapdragon laptops).
  2. Run it with the defaults. You get PuTTY, PuTTYgen, Pageant, plink and pscp in the Start menu and on the PATH.
  3. Check: open PowerShell and run plink -V — it should print release 0.85.

First connection

  1. Start PuTTY. In Host Name type the server address (e.g. 203.0.113.10), port 22, connection type SSH.
  2. Click Open. On the first connection PuTTY shows a Security Alert with the server's host key fingerprint, e.g. ssh-ed25519 255 SHA256:LA+auhZN….
  3. Compare that fingerprint with the one your administrator (or the lab welcome email) gave you. Only then click Accept. PuTTY stores it and warns you loudly if it ever changes.
  4. Log in with the user name and password you were given.

Where does the fingerprint come from? On the server it is the host key; you can read it yourself from any machine with ssh-keyscan:

ssh-keyscan shows the server software version and its ED25519 host key — the same key PuTTY asks you to accept.
ssh-keyscan shows the server software version and its ED25519 host key — the same key PuTTY asks you to accept.

Save a proper session

Set these once, then save them under a name like lab:

#Category → settingValueWhy
1Connection → Seconds between keepalives30Stops firewalls and NAT from dropping an idle session
2Connection → Data → Auto-login usernameyour userOne less thing to type
3Window → Lines of scrollback20000You can scroll back through long output
4Window → Translation → Remote character setUTF-8Box-drawing characters and accents display correctly
5Session → Logging → All session output%USERPROFILE%\putty-logs\&H-&Y&M&D-&T.logA transcript of everything you did — invaluable when something breaks

Go back to Session, type lab under Saved Sessions and click Save. From now on double-click lab to connect.

Copy and paste in PuTTY

  • Select text with the mouse = copied. Right-click = paste.
  • Ctrl+C in the terminal does not copy — it interrupts the running command.

Try it — first login

  1. Connect to your lab or any Linux box.
  2. Run hostname; whoami; uptime.
  3. Close PuTTY, open your saved lab session, confirm the log file appeared in putty-logs.
Rating
0 0

There are no comments for now.

to be the first to leave a comment.