-
rsync, what ports does it use
hmmmm searched the rsync doc for this but cant find it
what ports do the client use to connect to the server???
i need to run this to mirror a server, but both have firewalls
i need to setup the firewalls to allow the connections
any idea?
-
Hi Matt,
All port designations can be found in the /etc/services file. This will extract the ports for you.
cat /etc/services | grep rsync
Hope it helps,
Kai
-
you can also pipe it over ssh so you only need to leave port 22 open.
this is the basic command from the man page:
rsync -av --rsh="ssh -l ssh-user" rsync-user@host::module[/path] local-path
-
Originally Posted by Kai99
Hi Matt,
All port designations can be found in the /etc/services file. This will extract the ports for you.
cat /etc/services | grep rsync
Hope it helps,
Kai
Why us "cat?" This is easier: grep rsync /etc/services
-
Docster - maybe things have changed in the Eleven YEARS since that post was created
-
Wow! I need to start checking those dates.
Originally Posted by Steve R Jones
Docster - maybe things have changed in the Eleven YEARS since that post was created
I need to be more date conscious. ha ha. However, those commands haven't changed in that time. :-) Thanks for pointing out what I should have seen. OK, more coffee.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|