I am trying to set up my sshd to accept users that do not have a system user account. My approach is to use DSA public/private key pairs.
- I generated a key pair:
$ ssh-keygen -t dsa - I copied id_dsa.pub to the server machine where sshd runs.
- I appended the line from id_dsa.pub to ~/.ssh/authorized_keys of the single existing system user account I will use for every 'external' user.
- I tried to ssh as the 'external' user into the machine where I set-up the authorized_keys and failed miserably.
What am I missing here?
Thanks.
ssh -vv {remotehost}from your client will be helpful here. – Zoredache Mar 18 '10 at 6:41