use .ssh/config ... with something like:
host foobar-nonstandard
hostname foobar
port 2021
then rdiff-backup to/from foobar-nonstandard::
-dean
On Tue, 13 Apr 2004, Rohit Kumar Mehta wrote:
Hello folks, I am trying to use rdiff-backup with ssh on a nonstandard port.
I tried in my backup script:
alias ssh=ssh -p 2021
I also tried creating a script named ssh containing the command:
/usr/bin/ssh $1 $2 $3 $4 $5
in a directory which preceded /usr/bin in the PATH
I am not a python programmer at all, but I also tried changing
the line:
__cmd_schema = 'ssh %s rdiff-backup --server'
in /usr/bin/rdiff-backup to
__cmd_schema = 'ssh -p 2021 %s rdiff-backup --server'
All of this to no avail. Does anyone know if there is a solution to this
problem?
Many thanks,
Rohit
PS: I am running Debian / Woody which comes with rdiff-backup 0.6.0-1
_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki