I usually do ssh key authentication as follows:
- generate key on client pc (
# ssh-keygen -t rsa
) - copy the key to server (using
ssh-copy-id
or by other means) - access server from client PC.
I have seen AWS servers (Amazon web servers) provide a key during server creation, which the client can then use to login.
Now I have a server with me in which I want to generate keys and distribute it to my clients. Every one with that key must be able to access to the server.
- How can I achieve this?
- How should I name these keys I distribute to clients? Is it Public key?
Am I missing any theory about public/private key here?