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 <[email protected] <mailto:[email protected]>> 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: [email protected] <mailto:[email protected]>


    
------------------------------------------------------------------------------
    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
    [email protected]
    <mailto:[email protected]>
    List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
    <https://lists.sourceforge.net/lists/listinfo/backuppc-users>
    Wiki: http://backuppc.wiki.sourceforge.net
    <http://backuppc.wiki.sourceforge.net>
    Project: http://backuppc.sourceforge.net/
    <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
[email protected]
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: [email protected] <mailto:[email protected]>

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

Reply via email to