SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Using rdiff-backup with ssh that runs on a nonstandard port
Author Message
Post Using rdiff-backup with ssh that runs on a nonstandard port 
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

Post Using rdiff-backup with ssh that runs on a nonstandard port 
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 rdiff-backup-users < at > nongnu.org
http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Post Using rdiff-backup with ssh that runs on a nonstandard port 
That was a useful suggestion. I did what you said, and now
"ssh mytargetmachine" does in fact use the new port.
However rdiff-backup still fails with all kinds of error messages Sad
It works fine on standard (22) port.

Rohit

dean gaudet wrote:

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 rdiff-backup-users < at > nongnu.org
http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki




Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB