Before you begin
You made the key with PuTTYgen (see Create an SSH key with PuTTYgen) and added it to your site.
Steps
- Start PuTTY.
- Under Session, enter the server as Host Name, for example
login@db.my.se7enx.com, and7822as Port. - Open Connection > SSH > Auth > Credentials and choose your
.ppkfile under Private key file for authentication. - Go back to Session, type a name under Saved Sessions and click Save.
- Click Open. The first time, compare the fingerprint with the one on the SSH & SFTP tab and click Accept.
- Type your key's passphrase.
Result
You are signed in. Next time, double-click the saved session.
What to do next
Your key was made with ssh-keygen instead? Open it in PuTTYgen with Load (choose All Files) and Save private key as .ppk.
Pageant, which comes with PuTTY, keeps your key unlocked so you type the passphrase once.
Related articles
- Create an SSH key with PuTTYgen Make a key with PuTTYgen on Windows, for PuTTY and WinSCP, and copy its public key for your site.
- Copy files with WinSCP Connect WinSCP on Windows to your site over SFTP with your key, and drag files between your computer and the server.
- SSH or SFTP does not connect What "Permission denied (publickey)", a timeout or a changed fingerprint mean, and how to fix them.