How to Add a Private Key to WinSCP
1. Generate or Obtain Your Private Key: If using Putty, ensure you have your private key file in .ppk (PuTTY Private Key) format. If you have a private key in .pem format, convert it using PuTTYgen.
2. Open WinSCP: Launch the WinSCP application on your system.
3. Start a New Session:
- Click on "New Site" in the main window.
- Enter your server’s hostname, port (usually 22 for SSH), username, and password (if applicable).
- For example: student.computing.dcu.ie
4. Configure SSH Settings:
- On the left, select "Advanced" to open the advanced site settings.
- In the Advanced Site Settings window, navigate to SSH > Authentication.
5. Add Private Key:
- Click "Browse" next to the Private key file field.
- Select your private key file (.ppk format) from your system and click Open.
6. Save and Connect:
- Click OK to close the advanced settings window.
- Save your session by clicking Save (if desired).
- Click Login to connect using the private key.
You should now be able to connect using the specified private key in WinSCP.
General Notes:
- Ensure you have the necessary permissions to access the source and destination locations.
- You may need to set up key-based authentication. Follow these instructions: https://docs.computing.dcu.ie/student-server/02-ssh-keys/