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: 416

Filed under:

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.

  1. I generated a key pair: $ ssh-keygen -t dsa
  2. I copied to the server machine where sshd runs.
  3. I appended the line from to ~/.ssh/authorized_keys of the single existing system user account I will use for every 'external' user.
  4. 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?


© Server Fault or respective owner

Related posts about openssh

Related posts about sshd-config