Mirroring Website with Rsync

Discussion in 'HOWTO-Related Questions' started by vibranze, Feb 2, 2007.

  1. vibranze

    vibranze New Member

    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.

    Han Lin
  2. sjau

    sjau Local Meanie Moderator

    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 :)
  3. vibranze

    vibranze New Member

    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.


Share This Page