Situation: One server with SSH daemon. Multiple clients with the user
myUser which should connect to the server via SSH. With password based authentication everything is fine.
Now I would like to migrate to public key authentication. On
workstation1 I generated a key (pair) and transfered the public key to the server utilizing
ssh-copy-id. Public key authentication is working so far.
Now I checked
/home/myUser/.ssh/authorized_keys on the server. There is only one key present associated with
myUser@workstation1. There is also an association to
I want to connect to
myUser@server from multiple clients (
myUser@workstation2 ... ,
Can I use the same key from all of those clients? Must I remove the clients name
workstation1from the key file or
authorized_keysfile? Does this have any security implications?
Or should I better generate a separate key for every workstation?