SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
How to use rdiff through a ssh tunnel ?
Author Message
Post How to use rdiff through a ssh tunnel ? 
Hi,
i just discover rdiff-backup this morning, and i would like to know, how
can i use rdiff-backup through an ssh tunnel ?
at this moment, when i want to be connected to my remote server, i do
the following command:

ssh -C -2 -N -L <port_number>:<server_ip:22> -f -l user <domain_name>
after it ask me for my passphrase and after all of that i do:

ssh -p <port_number> localhost ... and i am connecting in.

What should i do with rdiff ?

Thx

--
Thierry
"un barbu c'est un barbu, mais trois barbus c'est des barbouzes"

Post How to use rdiff through a ssh tunnel ? 
thierry wrote:

ssh -C -2 -N -L <port_number>:<server_ip:22> -f -l user <domain_name>
after it ask me for my passphrase and after all of that i do:

ssh -p <port_number> localhost ... and i am connecting in.

just stick it in a script.
instead of the second ssh -p bit, use a .ssh_config.
look on the unattended rdiff-backup page.
its linked off the main site and appended on the wiki

dave

Post How to use rdiff through a ssh tunnel ? 
On Thu, 03 Jun 2004 22:58:29 +1000, David Kempe wrote:

instead of the second ssh -p bit, use a .ssh_config

Make that .ssh/config

--
Greetings from Troels Arvin, Copenhagen, Denmark

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