Jump to content
xisto Community
Sign in to follow this  
martvefun

Connect To Ssh With Private Key

Recommended Posts

Hello,To connect to a certain server, I've received keyfiles :key.ppkkey.privkey.pubThe person who gave me that use putty on windows.There is putty on linux (the system I'm using) but I don't see why I should do that with this ugly interface why I can do it simply in the terminalI read that I had to put the content of the key (the ppk or priv ?) in ~/.ssh/authorized_keysI tried to connect with "ssh -i /path/to/key.ppk root@myserver" but it still ask me the password (which I don't know)as it didn't works with the classical ssh, I gave a try to putty but here I've a message "Server refused our key" and ask the passsame with the command line "putty -i /path/to/key.ppk root@myserver"any idea ?I'm starting wondering if the guy did something wrong on the server side...thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.