SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Automated rdiff-backup with -p 9999
Author Message
Post Automated rdiff-backup with -p 9999 
Please let me know how to use ssh's port 9999 with Automated rdiff-backup - http://www.howtoforge.com/linux_rdiff_backup -.

My backup plan is here.

A box: 192.168.0.2
ssh port: 9999
.ssh/config:

host A-box
hostname A-box
port 9999
user root
identityfile ~/.ssh/bboxbackup
compression yes
protocol 2
B box: 192.168.0.10
ssh port: 9998

After connection with key authentication without pass-phrase, I have a serious problem.
At Automated rdiff-backup guide - http://www.howtoforge.com/linux_rdiff_backup -, I could not find how to change ssh's port.

command="rdiff-backup --server --restrict-read-only /",from="A-box",no-port-forwarding,no-X11-forwarding,no-pty

Any help on this problem would be appreciated

View user's profile Send private message
Post Automated rdiff-backup with -p 9999 
Please let me know how to use ssh's port 9999 with Automated rdiff-backup - http://www.howtoforge.com/linux_rdiff_backup -.

My backup plan is here.

A box: 192.168.0.2
ssh port: 9999
.ssh/config:


host A-box
hostname A-box
port 9999
user root
identityfile ~/.ssh/bboxbackup
compression yes
protocol 2

B box: 192.168.0.10
ssh port: 9998

After connection with key authentication without pass-phrase, I have a serious problem.
At Automated rdiff-backup guide - http://www.howtoforge.com/linux_rdiff_backup -, I could not find how to change ssh's port.


command="rdiff-backup --server --restrict-read-only /",from="A-box",no-port-forwarding,no-X11-forwarding,no-pty


Any help on this problem would be appreciated

+----------------------------------------------------------------------
|This was sent by hanpedro < at > gmail.com via Backup Central.
|Forward SPAM to abuse < at > backupcentral.com.
+----------------------------------------------------------------------




_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Automated rdiff-backup with -p 9999 
On Wed, Nov 25, 2009 at 10:39:16PM -0500, hanpedro wrote:

Please let me know how to use ssh's port 9999 with Automated rdiff-backup - http://www.howtoforge.com/linux_rdiff_backup -.

My backup plan is here.

A box: 192.168.0.2
ssh port: 9999
.ssh/config:


host A-box
hostname A-box
port 9999
user root
identityfile ~/.ssh/bboxbackup
compression yes
protocol 2

B box: 192.168.0.10
ssh port: 9998

After connection with key authentication without pass-phrase, I have a serious problem.
At Automated rdiff-backup guide - http://www.howtoforge.com/linux_rdiff_backup -, I could not find how to change ssh's port.


command="rdiff-backup --server --restrict-read-only /",from="A-box",no-port-forwarding,no-X11-forwarding,no-pty


Any help on this problem would be appreciated

need to change your remote schema to use ssh -p 999



_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Automated rdiff-backup with -p 9999 
2009/11/26 hanpedro <rdiff-backup-forum < at > backupcentral.com ([email]rdiff-backup-forum < at > backupcentral.com[/email])>

Please let me know how to use ssh's port 9999 with Automated rdiff-backup - http://www.howtoforge.com/linux_rdiff_backup -.

Simply user the --remote-schema parameter, as in:

rdiff-backup --remote-schema 'ssh -C -p 9999 %s' src dest

Anyway, if you already have the correct port in ~/.ssh/config, it should pick it up from there, if you run:

rdiff-backup A-box:/some/path /backup

Hope you get the point Wink.
G.

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