What you’ll need
- A Compute instance with your SSH public key uploaded
- Windows 10 or later
- Windows Terminal / PowerShell (OpenSSH)
OpenSSH via Windows Terminal
Step 1 – Check OpenSSH is installed
Open PowerShell and run:- Settings → Apps → Optional features
- Add a feature → OpenSSH Client
Step 2 – Create or convert your key
If you already have an OpenSSH private key, use it directly with Windows OpenSSH. If your key is in PuTTY’s.ppk format:
- Open PuTTYgen and load the private key.
- Select Conversions → Export OpenSSH key.
- Save the exported private key and use its path with
ssh -iorIdentityFilebelow.
Step 3 – Create a config entry (optional)
InC:\Users\<you>\.ssh\config, add:
YOUR_SSH_HOST and YOUR_SSH_USER with the values in the instance’s SSH connection details, and use your matching private key. Include any additional settings supplied by the console. See SSH configuration and host verification.
Save, then simply:
Step 4 – Connect manually
Without a config file, run:Troubleshooting OpenSSH
- Permission denied → Wrong key or not uploaded
- Connection timed out → Check internet/firewall
- Unknown host → Typo in instance ID
Common PuTTY pitfalls
- Server unexpectedly closed connection → Wrong port or host name
- No supported authentication methods available → Wrong key format
- Support modern encryption and OpenSSH compatible formats