rsync, what ports does it use


Results 1 to 6 of 6

Thread: rsync, what ports does it use

  1. #1
    Join Date
    Sep 2002
    Location
    UK, Wales
    Posts
    191

    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?
    OssT - Torrents for Open Source Software
    We mirror Terabytes worth of data and offer it as downloadable torrents seeded by our 100mbps servers.

  2. #2
    Join Date
    Feb 2003
    Location
    Halifax, Nova Scotia Canada
    Posts
    128
    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

  3. #3
    Join Date
    Mar 2003
    Location
    mass, usa
    Posts
    343
    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

  4. #4
    Join Date
    Aug 2014
    Posts
    2
    Quote Originally Posted by Kai99 View Post
    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

  5. #5
    Join Date
    Apr 2011
    Location
    Largo, FL.
    Posts
    55
    Docster - maybe things have changed in the Eleven YEARS since that post was created

  6. #6
    Join Date
    Aug 2014
    Posts
    2

    Wow! I need to start checking those dates.

    Quote Originally Posted by Steve R Jones View Post
    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
  •