Le jeudi 24 décembre 2009 14:48:12, Chris Robertson a écrit :
> 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...
> 
> [r...@sas ~]# ls -ld .ssh/
> drwx------  2 root root 4096 Dec 17 15:31 .ssh/
> [r...@sas ~]# chmod 775 .ssh/
> [r...@sas ~]# ssh localhost
> Password: ^C
> [r...@sas ~]# chmod 700 .ssh
> [r...@sas ~]# ssh localhost
> [r...@sas ~]#^D
> Connection to localhost closed.
> [r...@sas ~]#
> 
Thanks it works

chmod 700 .ssh
before = drwxrwxr-x   2 root root  4096 déc 23 21:40 .ssh
after = drwx------   2 root root  4096 déc 23 21:40 .ssh

no more password needed. Backuppc is working great now
-- 
Claude Gélinas agr.
Phyto Ressources inc.

------------------------------------------------------------------------------
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@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to