I have a question about passwordless ssh with one home folder.
I have created a common /home/developers account, and multiple users (developerA,developerB ...). All developers have been delegated the same home folder (/home/developers).
As developerA on his machine, I have done the following:
- ssh-keygen -t rsa -f developerA -C developerA@mycompany.com
- (on server). added the .pub to the server /home/developers/.ssh/authorized_keys file
- ssh developerA@myServer -i developerA
I am thinking that the problem is linked to permissions, because the authorized_keys file is owned by developers (-rw------- 1 developers developers 2033 Nov 11 22:55 authorized_keys )
Does anyone have a solution to this problem, or how to go about multiple-user passwordless ssh without creating a home folder for each of them.
Thanks in advance guys