BackupPC-users

Re: [BackupPC-users] Valid SshPath

2017-06-15 22:46:59
Subject: Re: [BackupPC-users] Valid SshPath
From: Craig Barratt via BackupPC-users <backuppc-users AT lists.sourceforge DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 15 Jun 2017 19:45:53 -0700
Lano,

That setting needs to point to an executable without any arguments.

If you can't inject the right arguments elsewhere (eg, ssh config, other Xfer commands), then I'd recommend making a short shell script, eg, /usr/local/bin/backuppc_sshpass that executes the command with the arguments you want.  Then set $Conf{SshPath} to /usr/local/bin/backuppc_sshpass.

Craig

On Thu, Jun 15, 2017 at 9:43 AM, lano <lano AT reef DOT pl> wrote:
Hi

I can't use sshpass in $Conf{SshPath}.
When I set $Conf{SshPath} = '/usr/bin/sshpass -f
/var/lib/backuppc/.config/p /usr/bin/ssh';
program returns me this error:
2017-06-15 18:33:09 $Conf{SshPath} = '/usr/bin/sshpass -f
/var/lib/backuppc/.config/p /usr/bin/ssh' is not a valid executable
program

In attachment screen when I try the same settings in CGI.

Best Regards
Bartosz Głowik

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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>

ADSM.ORG Privacy and Data Security by KimLaw, PLLC