Set-up SSHD to handle multiple key pairs.
Posted
by Warlax
on Server Fault
See other posts from Server Fault
or by Warlax
Published on 2010-03-18T06:13:06Z
Indexed on
2010/03/18
6:21 UTC
Read the original article
Hit count: 466
Hey guys,
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.
© Server Fault or respective owner