Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3569  / 2 Years ago, thu, november 25, 2021, 6:38:37

I got a ssh key in ppk format. I found some manual to convert it to an open ssh key. Now I just want to connect to the server using this key. The manuals I find are all about creating one. Do I have to put the key in the .ssh folder? Or can I include the file in a ssh command?


More From » ssh

 Answers
7

The OP already has a key, it is a .ppk which is a format used by Putty. The OP has converted it to an open ssh key already.



To use the key,



First, by default, the key should stored in ~/.ssh with permissions of 600 as outlined above.



Second, you have two options to use the key.



Option 1 - Use putty - You can install and use putty in Linux. Putty can use the key in either format.



Option 2 - Use ssh on the command line



ssh -i ~/.ssh/your_key user@server


If you have any errors , post them here.



If you like, I posted some information on ssh keys from a LUG meeting here - http://bodhizazen.com/Tutorials/SSH_keys


[#30355] Saturday, November 27, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nosaurindb

Total Points: 266
Total Questions: 113
Total Answers: 120

Location: Ecuador
Member since Tue, Jul 26, 2022
2 Years ago
;