View Full Version : .ssh ownership, other issues

Charles Curley
June 21st, 2010, 12:06 PM
On both Red Hat/CentOS and SUSE SLES, I see that the client .ssh directory and its contents are owned by root:root. Should they not be owned by amandabackup:disk? They have the correct permissions (0600).

When SSHing from the server to a client, I see:

[email protected]'s password:
Could not chdir to home directory /var/lib/amanda: Permission denied

Finally, when the server's public key is generated, it is assigned to [email protected] Should it not be [email protected]<hostname> (where <hostname> is the host name of the server)?

September 2nd, 2011, 09:23 AM

Yes the last post is old - but it might be useful for others ;-) I suppose this message is caused by SELinux. Try the following command as root and retry:

chcon -t user_home_dir_t /var/lib/amanda

Best of luck!