BackupPC-users

Re: [BackupPC-users] ssh don't work to backup localhost

2009-12-24 14:50:26
Subject: Re: [BackupPC-users] ssh don't work to backup localhost
From: Chris Robertson <crobertson AT gci DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 24 Dec 2009 10:48:12 -0900
Claude Gélinas wrote:
> Le mercredi 23 décembre 2009 22:14:41, Tony Schreiner a écrit :
>   
>> I forget if anybody has mentioned wrong file permissions as a
>> possibility. The ~/.ssh directory may not be group or world
>> writable.This will be logged in /var/log/messages if set incorrectly.
>>
>> ---------------------------------------------------------------------------
>>     
>
>   
> This is what I have:
>
> drwxrwxr-x   2 root root  4096 déc 23 21:40 .ssh
> -rw------- 1 root root 413 déc 23 21:39 authorized_keys
> -rw-rw-r-- 1 root root 861 déc 20 22:29 known_hosts
>   

That would seem to be a problem...

[root@sas ~]# ls -ld .ssh/
drwx------  2 root root 4096 Dec 17 15:31 .ssh/
[root@sas ~]# chmod 775 .ssh/
[root@sas ~]# ssh localhost
Password: ^C
[root@sas ~]# chmod 700 .ssh
[root@sas ~]# ssh localhost
[root@sas ~]#^D
Connection to localhost closed.
[root@sas ~]#

Chris





------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/