Tuesday, January 27, 2015

How to use open ssh key?

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.

No comments: