2000-08-31-20:39:49 Paulo Henrique Baptista de Oliveira:
>       I have some simple questions about rsync:
>       1) I have to maintain a web server and want to rsync with it but ssh isnt
>          at 22 port (it is in another port).

No problem. The RSYNC_RSH environment variable, or the -e option to
rsync, can take a command-line with options of its own; so if your
ssh was on port 666, you could use

        export RSYNC_RSH='ssh -p 666'

or

        rsync -e 'ssh -p 666' ...

You can also specify the port to use in .ssh/config, in a specific
"host" section for just that destination host, or in a wildcard
section (should be at the end) starting "host *".

>       2) Do I have to have rsync server at my webserver?

I've never used rsync server; I've always and only used rsync over
ssh.

-Bennett

PGP signature

Reply via email to