BackupPC-users

Re: [BackupPC-users] BackupPC with ssh

2013-09-16 08:50:03
Subject: Re: [BackupPC-users] BackupPC with ssh
From: Bernis Nukic <admin AT exwizzard DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 16 Sep 2013 14:20:25 +0200
You do not use plain text passwords, you use ssh keys.

You will generate a key on your backuppc host, with the backuppc user account, and then put the public key on the remote server. And then login once via ssh to the remote server to test if the key works (with the backuppc user).

If everything is ok, then backuppc will run the rsync job without problems


On Mon, Sep 16, 2013 at 1:56 PM, makgab <backuppc-forum AT backupcentral DOT com> wrote:
I read the doc, but I don't understand the rsync method settings.
"Rsync is run on the remote client via rsh or ssh."
http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_rsyncclientcmd_

The default parameter:
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';

I try this:
$Conf{RsyncClientCmd} = '$sshPath -q -x -l username $hostIP $rsyncPath $argList+';

but how can I set the password parameter in ssh connection?

+----------------------------------------------------------------------
|This was sent by makgab AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
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/