allow multiple users

Eitan Adler eitanadlerlist at gmail.com
Mon Apr 26 22:26:23 EST 2010


On Mon, Apr 26, 2010 at 2:34 PM, Adriana Rodean <adrya1984 at gmail.com> wrote:
> Thanks :)
>
> How should i configure openssh server in order for multiple users to
> connect to it?

Multiple users *can* connect ;). If you want multiple users to use the
same key you need to copy the key to each users authorized_key file.

>
> And user A to be able to write in user B authorized_keys file?
This is the exact scenario the "invalid permissions" error is trying
to prevent. One way for you to allow user A to write to user B's files
without changing B's permissions to write a setuid program which will
only let you add/change/delete a key in authorized_keys.

Another option is to add "StrictModes no" to sshd_config.

>
> Right now i have this option in sshd_config:
> AuthorizedKeysFile: /home/A/glassfish/domains/domain1/config/authorized_keys
>


More information about the openssh-unix-dev mailing list