0

If I add my public key to a servers authorized_keys file then I can ssh into the server with no password;

My question is, can the server ssh into my machine with no password too? or I have to add the servers pub key to my file for that to also happen?

0

No, you'd have to add a public key your machines authorized_keys file for the server to ssh into your machine. Even then another user on the server would need your corresponding private key to do so.

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.