specifying ssh port #?

Keith Warno krjw at valaran.com
Thu Aug 4 18:33:28 GMT 2005

Perhaps this is a lame question, but...

	is there a way to pass an SSH port # to rsync?

At least one way I can do it is to use a small shell wrapper around ssh
and pass the port # thru the environment.  Just wondering if there is an
easier way that I magically can't find.

The reason for this is primarily because I find myself having to copy
files between some local host and some remote host that is behind a
firewall so I wind up using an ssh tunnel.


SA Valaran Corp
GPG: 0xEC705AE9
I put the sh in IT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20050804/0d0b8385/attachment.bin

More information about the rsync mailing list