Generating SSH Keys on the Server

Posted by mupro on Super User See other posts from Super User or by mupro
Published on 2012-08-27T19:57:51Z Indexed on 2012/08/27 21:42 UTC
Read the original article Hit count: 178

Filed under:
|
|

I have set up sshd on a Linux server and managed to log in via keys generated using ssh-keygen. However, I have made the following observation: When I generate the key pair on the client and copy the public key to the server everythings works fine. But when I generate the key pair on the server and copy the private key to the client I cannot log in. Can anybody explain to me if and why the keys have to be created on the client?

© Super User or respective owner

Related posts about ssh

Related posts about openssh