Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to ssh to a remote machine with a rsa key. In linux, it is simple:

ssh -i file.rsa username@remote.com

But how can I do that in windows using putty?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

The puttygen utility can import your RSA key and save it in the PuTTY format. To use the key in PuTTY, you can specify your private key file in the "Auth" subnode of the "SSH" node of the connection dialog or use the -i argument to specify your private key file.

share|improve this answer

You can change your key settings in putty. Look for the Connection->SSH->Auth menu on the left side of the window.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.