Hi

Thanks for your previous answers.
Now I'm fighting with setting up ssh tunnelling with rsync


I got a rsync server (100.100.100.100) listening on port 873. It's configured with a rsync user.
(It works without ssh tunnelling)


On my rsync client I issue this command:

ssh -f -L 2222:100.100.100.100:873 [EMAIL PROTECTED] sleep 40

Now I'm a tunnelling newbie, but I think it's working something like this:


I'm assigning port 2222 on the client (local computer) to connect to the rsync server (100.100.100.100) on port 873.
It asks for the linuxusers password. And now I have 40 seconds to issue this command:


rsync -auz --delete rsync://[EMAIL PROTECTED]:2222::www /var/www/foldertoupdate

But this doesn't seem to work.

Maybe some of you can help me figure out what I'm doing wrong.

I also wonder why I need to enter the remote linuxusers password.

Thanks

--
Med venlig hilsen / Best regards

Lars E. D. Jensen
[EMAIL PROTECTED]
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to