0

I've used Putty on a windows machine to generate a key pair. I now want to add this key to my linux laptop.

Is there a way to place my key into my .ssh directory to use when trying to access the relative ssh URL? If I'm not mistaken if the public key has been added to the ring of the place I'm trying to access, so long as I have the private key—regardless of what machine I'm using—I'm able to log in yes?

That being said with linux (in my case Fedora 22), I must have the private keys in the .ssh/ directory right?

How do I get the private key into that directory, and is that all that's needed?

(I've tried going to the directory of my keys and using cp <keyname> <directory> but when trying to get to .ssh/ I'm unable to—and this is while using su)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.