Downloading PuTTY and WinSCP
- Run Puttygen.
- From the menu option “Conversions”, select “Import key”
- In the dialog, locate the pem file and “Open” it.
- Change the comment from ‘imported-openssh-key” to a something more descriptive like “my-db-server”
- Optional: Enter a passphrase.
- Create PPK file by clicking on “Save private key”
- Run WinSCP
- In the Login dialog, click on the “New” button
- Enter the “Host” name or IP address
- Enter “User name” (ec2-user, root etc.)
- Select the PPK file in box “Private key file”
- Click on “Save…” and give it a descritive name like “my-db-server”
- Close and run WinSCP again, this time select server name and click in the “Login” button
- Configure WinSCP to invoke Putty
- Goto “Options->Preferences”
- Select “Integrations/Applications”
- Locate putty.exe and click on “OK”
- Restart WinSCP and login to the server.
- From the WinSCP toolbar click, on the Putty icon (usually 8th icon from the left)
- You should be now logged into the server using Putty.