Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you created your rsa identity with openssh's ssh-keygen, you can use it with putty. If you have Pageant running and copied the _private_ key to your machine with putty, just select "Add Key" and select the private key file.
if you didn't use "ssh-keygen -t rsa -f my_key", then the two files you get are called:
identity
identity.pub
identity is the private key, identity.pub is the public part.
Copy those files to the machine you run putty on- you can put them anywhere.
Then create a new Putty sessions, and in the options panel, go to Category -> SSH -> Auth and in the box that says "Private key file for authentication", select the "identity" file.
identity.pub contains the public key half that you add to your .ssh/authorized_keys file
hope that helps!
You can also use the Pageant program that is included with putty. Load the "identity" file, and make sure that in SSH -> Auth you have the "Attempt Authentication using Pageant" box checked.
if you didn't use "ssh-keygen -t rsa -f my_key", then the two files you get are called:
identity
identity.pub
identity is the private key, identity.pub is the public part.
Copy those files to the machine you run putty on- you can put them anywhere.
Then create a new Putty sessions, and in the options panel, go to Category -> SSH -> Auth and in the box that says "Private key file for authentication", select the "identity" file.
identity.pub contains the public key half that you add to your .ssh/authorized_keys file
hope that helps!
You can also use the Pageant program that is included with putty. Load the "identity" file, and make sure that in SSH -> Auth you have the "Attempt Authentication using Pageant" box checked.
good luck!
Thx, I've done how u suggested, but I'm gtting this problem:
Unable to use key file "C:\Support\id_rsa" (OpenSSH SSH-2 private key)
Using username "root".
my apologies- I forgot all about that. Pageant uses a different ssh2 key format than openssh. There's a way to convert them, but its probably easier to use puttygen to generate an ssh2 key on your windows machine, and then put the contents of the .pub file into your .ssh/authorized_keys file.
If you google for openssh putty ssh2, you may be able to locate the steps to convert the key format. I know its possible but can't remember how to do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.