Putty

PuTTY is an SSH and telnet client.

Installation

Download installer here.

Login

SSH Login with private key

Convert RSA keys from Unix to Putty (.ppk) format

PuTTYgen is normally installed as part of the normal PuTTY on Windows.

  • Transfer RSA keys from Kali to Windows.
  • Click on Start menu->All Programs->PuTTY->PuTTYgen.
  • Click on the Conversions->Import key.
    • Select the RSA private key file (e.g. “id_rsa”).
    • Click on Save private key and give the file a name (e.g. “id_rsa.ppk”).
    • Click on Save public key and give the file a name (e.g. “id_rsa_pub”).

Connection

  • Click on Connection->SSH->Auth->Credentials.
  • Under Private key file for authentication, click on Browse and select the private key file (.ppk).

On Kali

Generate a keypair in both PEM and PPK format

sudo apt-get install openssh-client putty-tools
puttygen -t rsa -b 2048 -o putty_key.ppk
Enter passphrase to save key:
Re-enter passphrase to verify:
puttygen putty_key.ppk -O private-openssh -o id_rsa