Re: Rsync with daemon over SSH on port 22 not daemon port

This is a discussion on Re: Rsync with daemon over SSH on port 22 not daemon port within the Rsync forums, part of the Networking and Network Related category; I sorted it thanks for help: ssh -fN -l crpo1 -L 10013:localhost:10000 lx1; sleep 1; rsync -av --port ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-06-2008
Mark Clifford
 
Posts: n/a
Default Re: Rsync with daemon over SSH on port 22 not daemon port

I sorted it thanks for help:

ssh -fN -l crpo1 -L 10013:localhost:10000 lx1;
sleep 1;
rsync -av --port 10013 localhost::live /home/users/crpo1/crpo1/


Thanks for input!
On 06/05/2008, Paul Slootman <paul+rsync@wurtel.net> wrote:
> On Mon 05 May 2008, markcliff@gmail.com wrote:
>
> > Have daemon setup on port 10001.
> >
> > Do not have NC, do not have root access.
> >
> > Client command :
> >
> > rsync -avzul -e "ssh -vvv -l username" /home/users/blah/ rsync://lrem02:10001::/live

>
> Firstly, this syntax is not quite correct, the manpage says:
>
> rsync [OPTION...] SRC... rsync://[USER@]HOST[:PORT]/DEST
>
> That would translate to:
>
> rsync://lrem02:10001/live
>
> i.e. don't confuse the two ways of specifying a daemon transfer
> (rsync://host/module and host::module)
>
> Secondly, if you have a daemon on 10001, why are you using ssh?
> Alternatively, if you have ssh access, why use a daemon?
>
>
> > How can i transfer to a non standard SSH daemon port (10001) with non-root and non access to alter the init default files (873).

>
> If you have an _ssh_ daemon on 10001, then use:
>
> rsync -e 'ssh -p 10001' ...
>
> You could also make an entry for the remote host in ~/.ssh/config , like
> so:
>
> Host remotehost
> Port 10001
>
> That will then be used as the default ssh port for that remotehost.
>
>
> Paul Slootman
>



--
Please do not hesitate to contact me should you require any further information.

Best regards,
Mark Clifford
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:28 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0