[PATCH] don't always emit '.ssh' create error
reubenhwk at gmail.com
Thu Dec 8 12:53:02 AEDT 2016
Hopefully gmail won't mangle the attachment (gmail seems to hate
SSH is used to automate tasks on remote hosts. There are often special
user account created for these tasks. Many of those user accounts are
locked down for security. Some of those users' home path is '/dev/null'.
When this is the case, ssh automated tasks clutter up the logfiles with...
Could not create directory '/dev/null/.ssh'.
...this change checks that the user's home directory is actually a directory
and that it is writable by that user before attempting to create the '.ssh'
directory. This prevents the error.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2495 bytes
Desc: not available
More information about the openssh-unix-dev