Re: allow multiple users

Adriana Rodean <[email protected]> Tue, 27 Apr 2010 12:10:38 +0300
Newsgroups gmane.network.openssh.devel,gmane.network.openssh.general
Message-ID <[email protected]>
Thanks a lot :)

StrictModes no did the trick ;)

On Mon, Apr 26, 2010 at 15:26, Eitan Adler <[email protected]> wrote:
> On Mon, Apr 26, 2010 at 2:34 PM, Adriana Rodean <[email protected]> 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
>>
>