Re: [BackupPC-users] V4, Set port for SSH

2017-08-11 Thread Pelle Hanses

Thank you very much!

The solution are as you did write:

$Conf{RsyncSshArgs} = [
  '-e',
  '$sshPath -p 2022'
];

I believe I did test that to earlier but probably not in combination 
with "-e".


/Pelle

Den 2017-08-11 kl. 09:35, skrev Alexey Safonov:

$sshPath -p 2022


--



*/Pelle Hanses/*
Masen Data
Bällsta 130, 832 93 Frösön
Tel: +46 63-12 64 83, Mobil: +46 731-83 61 90
E-post: pe...@masendata.com 

--
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/


Re: [BackupPC-users] V4, Set port for SSH

2017-08-11 Thread Alexey Safonov
here is mine
$Conf{RsyncSshArgs} = [
  '-e',
  '$sshPath -q -x -l rbackup'
];


so try
$Conf{RsyncSshArgs} = [
  '-e',
  '$sshPath -p 2022'
];


On 11 August 2017 at 15:21, Pelle Hanses  wrote:
> Thanks, I guessed it. Unfortunately, I do not know what to enter there. I
> have tried many different syntax but nothing works. I guess that "-p 2022"
> should be the correct one but it does not work.
> The contents of config-fieln will then be:
> $ Conf {RsyncSshArgs} = [
>'-p 2022'
> ];
>
> I get the error code:
>
> rsync_bpc: -p 2022: unknown option
>
>
> /Pelle
>
>
> Den 2017-08-11 kl. 07:03, skrev Craig Barratt via BackupPC-users:
>
> Pelle,
>
> In 4.x you should use $Conf{RsyncSshArgs}.
>
> Craig
>
> On Thu, Aug 10, 2017 at 11:51 AM, Pelle Hanses  wrote:
>>
>> Hi,
>> I have upgraded to V4 (4.1.2) and everything seems to work except from
>> setting SSH port. How can I set the port SSH will connect to?
>> In version 3 I used "$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
>> -p 2022 $host sudo $rsyncPath $argList+';" but I can't find out how to set
>> -p 2022 in the new settings.
>>
>>
>>
>> /Pelle
>>
>>
>>
>> 
>>
>> Pelle Hanses
>> Sweden
>> E-post: pe...@masendata.com
>>
>>
>>
>> --
>> 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@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
> --
>
> 
>
> Pelle Hanses
> Masen Data
> Bällsta 130, 832 93 Frösön
> Tel: +46 63-12 64 83, Mobil: +46 731-83 61 90
> E-post: pe...@masendata.com
>
>
> --
> 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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] V4, Set port for SSH

2017-08-11 Thread Pelle Hanses
Thanks, I guessed it. Unfortunately, I do not know what to enter there. 
I have tried many different syntax but nothing works. I guess that "-p 
2022" should be the correct one but it does not work.

The contents of config-fieln will then be:
$ Conf {RsyncSshArgs} = [
   '-p 2022'
];

I get the error code:

rsync_bpc: -p 2022: unknown option


/Pelle


Den 2017-08-11 kl. 07:03, skrev Craig Barratt via BackupPC-users:

Pelle,

In 4.x you should use $Conf{RsyncSshArgs}.

Craig

On Thu, Aug 10, 2017 at 11:51 AM, Pelle Hanses > wrote:


Hi,
I have upgraded to V4 (4.1.2) and everything seems to work except
from setting SSH port. How can I set the port SSH will connect to?
In version 3 I used "$Conf{RsyncClientCmd} = '$sshPath -q -x -l
backuppc -p 2022 $host sudo $rsyncPath $argList+';" but I can't
find out how to set -p 2022 in the new settings.



/Pelle




*/Pelle Hanses/*
Sweden
E-post: pe...@masendata.com 



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


--



*/Pelle Hanses/*
Masen Data
Bällsta 130, 832 93 Frösön
Tel: +46 63-12 64 83, Mobil: +46 731-83 61 90
E-post: pe...@masendata.com 

--
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/


Re: [BackupPC-users] V4, Set port for SSH

2017-08-10 Thread Craig Barratt via BackupPC-users
Pelle,

In 4.x you should use $Conf{RsyncSshArgs}.

Craig

On Thu, Aug 10, 2017 at 11:51 AM, Pelle Hanses  wrote:

> Hi,
> I have upgraded to V4 (4.1.2) and everything seems to work except from
> setting SSH port. How can I set the port SSH will connect to?
> In version 3 I used "$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
> -p 2022 $host sudo $rsyncPath $argList+';" but I can't find out how to set
> -p 2022 in the new settings.
>
>
>
> /Pelle
>
>
> 
>
> *Pelle Hanses*
> Sweden
> E-post: pe...@masendata.com
>
> 
> --
> 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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] V4, Set port for SSH

2017-08-10 Thread Pelle Hanses

Hi,
I have upgraded to V4 (4.1.2) and everything seems to work except from 
setting SSH port. How can I set the port SSH will connect to?
In version 3 I used "$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc 
-p 2022 $host sudo $rsyncPath $argList+';" but I can't find out how to 
set -p 2022 in the new settings.




/Pelle




*/Pelle Hanses/*
Sweden
E-post: pe...@masendata.com 

--
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/