On 28.08.2018 15:49, [email protected] wrote:
The public keys are already there, since it's re-using the /home/centos
directory. But it's not using those keys when logging in as the new
user,
the keys that are (theoretically) in the new user's home directory.
ssh is very strict on permission. ~/.ssh need to have mode 0600, and the
private key require mode 0400 or 0600.
So sharing the same home folder among several user to reuse .ssh wont
work since only one user can be the owner of a file/directory at any
given time.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f5f05b8e2b1b9ab0d1b199cc9fefdfb0%40olstad.com.
For more options, visit https://groups.google.com/d/optout.