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; On Mon, May 05, 2008 at 11:24:04AM -0400, markcliff@gmail.com wrote: > rsync -avzul -e "ssh -...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, May 05, 2008 at 11:24:04AM -0400, markcliff@gmail.com wrote:
> rsync -avzul -e "ssh -vvv -l username" /home/users/blah/ rsync://lrem02:10001::/live That tells rsync to start up a single-use rsync daemon on the remote system after logging in via ssh. Daemon port numbers are completely ignored when you request a single-use rsync daemon. See the firewall section of the FAQ, which links to the firewall page: http://rsync.samba.org/FAQ.html#6 http://rsync.samba.org/firewall.html Method 5 on the firewall page covers using ssh to open a tunnel to the remote port. And no, you can't have rsync run that ssh command, since the -e option is only for specifying how rsync should run the rsync command on the remote system, not for running a auxiliary command to start a forwarded port (and rsync needs to open a socket connection without using a remote shell in a port-forwarding scenario). ...wayne.. -- 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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|