On Mon, Apr 29, 2002 at 06:53:54PM -0400, Administrator wrote:
> I am trying to use rsync over ssh to a specific port and am having no luck. Any
>help would be greatly apprecaited.
>
> This is what I have:
>
> rsync --delete -rlogptvz -e ssh /tmp [EMAIL PROTECTED]:/home/safe/backup/
>
> If someone could show me how to tell rsync to use a specific ssh port I would really
>appreciate it.
>
> Thank you.
>
> Michael
>
try
rsync --delete -rlogptvz -e "ssh -p 2222" /tmp [EMAIL PROTECTED]:/home/safe/backup/
or whatever the port number is. I have used it myself.
Alternately you can set RSYNC_RSH like so:
export RSYNC_RSH="ssh -p 2222"
rsync --.......
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: [EMAIL PROTECTED]
Remember Cernan and Schmitt
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html