BackupPC-users

Re: [BackupPC-users] Problem with key generation in Ubuntu 8.04 (LTS)

2010-03-12 17:16:12
Subject: Re: [BackupPC-users] Problem with key generation in Ubuntu 8.04 (LTS)
From: "Kenneth L. Owen" <tx836519 AT bellsouth DOT net>
To: tx836519 AT bellsouth DOT net, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 12 Mar 2010 17:14:05 -0500
Hi Luis (and others),

Since I must run back and forth between the machines, is there any way
to use a sneaker-LAN (e.g. USB memory stick) to transport the keys?
-- ken

On Thu, 2010-03-11 at 16:52 -0500, Kenneth L. Owen wrote:
> Hi Luis,
> 
> I really appreciate your help.  I've tried the key generation multiple
> times and can't believe that every time I mistype the password!  The
> keys are phrase-less.  /root/.ssh and /var/lib/backuppc/.ssh have 700
> permissions.  The authorized_keys file has 600 permission.  The newly
> created keys have 644 permissions and are set after transfer with the
> command:  chmod -R go-rwx ~/.ssh
> 
> On the server, I su to root then su to backuppc.  Working as backuppc,
> the command that is not working is:
> 
> scp ~/.ssh/BackupPC_id_rsa.pub [email protected]:/root/.ssh/
> 
> I get no error, just a prompt to enter the root password for
> 192.168.1.101.  I enter the password, but it is not accepted and asks me
> to try again.  I can occasionally mistype a complicated password, but I
> have carefully checked each key stroke.
> 
> Working as root on machine at 192.168.1.101, the command that is not
> working is:
> 
> scp ~/.ssh/client_id_rsa.pub
> [email protected]:/var/lib/bacuppc/.ssh/client_id_rsa.pub
> 
> Again, no error and prompted for root password which is not accepted.
> 
> I have root passwords for both of these machines and have no problem
> elevating to root to execute all other functions.
> 
> 
> As a test, I ssh connected to the backuppc server at 192.168.1.106 from
> 192.168.1.101.  I issued the following command:
> 
> scp /home/ken/20100308.backuppc_install.txt [email protected]:/home/ken/
> 
> I was prompted for password for ken and the command completed with no
> problem.  -- ken
> 
> On Thu, 2010-03-11 at 18:56 +0000, Luis Paulo wrote:
> > :)
> > So,
> > you may tell us exactly the scp command you are trying (or use
> > ssh-copy-id command instead, which I recommend).
> > 
> > I would still try to connect between two non root users to see if it
> > also doesn't work
> > 
> > Are you creating rsa files with or without password?
> > 
> > Wrong permissions for the .ssh dir may also be the problem. 
> > $ chmod 700 ~/.ssh
> > $ chmod 600 ~/.ssh/authorized_keys
> > Remember to restart ssh after changes :)
> > 
> > maybe show us your client /etc/ssh/sshd_config if none of the above
> > helps/work (check for AllowUsers directives, etc)
> > 
> > Luis 
> > 
> > PS: I guess you are planning to use
> > $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath
> > $argList+';
> > 
> > 
> > On Thu, Mar 11, 2010 at 2:48 PM, Kenneth L. Owen
> > <tx836519 AT bellsouth DOT net> wrote:
> > Hi Luis,
> > 
> > I thought you had the answer!  But when I checked, I found the files
> > (sshd_config) are set to allow root logon.  -- ken 
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________ 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/
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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/


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>