Results 1 to 4 of 4
Hello,
I SSH into a server from my windows partition using putty. The connection
requires a private key that is in my widows partition. This all works fine.
Now, How ...
- 09-13-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 27
SSH using the same ke
Hello,
I SSH into a server from my windows partition using putty. The connection
requires a private key that is in my widows partition. This all works fine.
Now, How can I do same from my linux partition? Can I copy the key to my linux partition somewhere so I can connect from my linux partition as well? Or do I need to setup separate public/private key for my linux partition?
Thanks in advance for your help.
- 09-14-2010 #2
Yes you can use the same private key from your windows partition. You need to copy it over to your Linux partition into ~/.ssh/
Then run this command
Detailed information about setting up ssh keys can be found here:Code:cat your_private.key >> ~/.ssh/authorized_keys
How to setup automatic login with ssh without a password | magicmonster.com
JC
- 09-17-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 27
Hello,
Thank you for your post.
It did not work:
Permission denied (publickey,gssapi-with-mic).
There were already to files under ~/.ssh/.
They are:
id_rsa id_rsa.pub
so, is that why it is failing?
- 09-20-2010 #4
Copy the id_rsa from your windows machine and copy the contents of the id_rsa file to the ~/.ssh/authorized_keys and check the permissions are correct.
JC


Reply With Quote