BackupPC-users

Re: [BackupPC-users] I broke perfection ...

2008-12-08 12:14:48
Subject: Re: [BackupPC-users] I broke perfection ...
From: Rob Owens <rob.owens AT biochemfluidics DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 08 Dec 2008 12:13:05 -0500
If you're being prompted for a password, then the public key is being
ignored for some reason.  This could be due to permissions.  The .ssh
directory should have 700 permissions (chmod 700 .ssh).  Some distros
are picky about the permissions of the individual files in .ssh.  Just
to be safe, give every file in .ssh 600 permissions (chmod 600 .ssh/*)

-Rob

Kenneth L. Owen wrote:
> Mike,
> 
> I have answered yes to the prompt to accept the key and immediately get
> asked for a password.  I have tried entering the password thinking that it
> might be 'just this once', but when I rerun the command, I am prompted for
> the password again.  When I set this up before, this test ran without a
> hitch, and I simply got a response of 'root' to the whoami command.  -- ken
> 
> -----Original Message-----
> From: Les Mikesell [mailto:les AT futuresource DOT com] 
> Sent: Thursday, December 04, 2008 3:38 PM
> To: General list for user discussion,questions and support
> Subject: Re: [BackupPC-users] I broke perfection ...
> 
> Kenneth L. Owen wrote:
>> The problem is that when all is working properly, and I run the command
>> -bash-3.2$ ssh -l root Winserver whoami
>> (bash-3.2$ prompt since user 'backuppc' was setup on Fedora 8 'no-logon')
>> WinServer should not ask for a password or pass-phrase, but only respond
>> 'root'
> 
> Did you ever answer 'yes' at the point where your earlier message showed 
> a ^C instead?  You do have to answer yes to that once (and only once). 
> Then if it goes on to ask for a password your keys aren't set up right.
> 
>> The process is not generating password/phrase-less keys!
> 
> This is determined by how you respond during the keygen step for the 
> backuppc user.  If you just hit enter at the prompt for a passphrase you 
> won't have one.  After that you just have to get the pub part of the key 
> into the /root/.ssh/authorized_keys2 file on the target with permissions 
> set correctly.
> 
>> It did on the original setup back in October before the crash.  I am
>> wondering if some file or program update issued in the last month or so
> may
>> be affecting the way the system is working now.
> 
> An update would affect everyone.  It hasn't.
> 
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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/