PDA

View Full Version : Mirroring Website with Rsync


vibranze
2nd February 2007, 11:12
Hi Falko,

Regarding to the howto article posted by you (http://www.howtoforge.com/mirroring_with_rsync), I would like to ask where can I specify the port for SSH, I'm not using SSH default port.

I tried to put -p7711 behind "-e ssh -p7711" but rsync complained that is an invalid parameter.

Please advise. Thanks.

Regards,
Han Lin

sjau
2nd February 2007, 11:53
the to add a space between the "-p" and "7711" --> "-e ssh -p 7711"

(not sure if that works but that looks like the "-e ssh" syntax :)

vibranze
3rd February 2007, 04:24
Thanks Sjau,

It's my bad, never read till the end. In the end of the article, I saw something like -e "ssh -i ..." and I put "ssh -p7711" instead and it's works.

Thanks again for the help.

Regards,
-Vibranze-