People do not spray, why Rsync do not need to open the port 873

Such as the title

Started by Patrick at February 05, 2016 - 8:27 PM

why

Posted by Patrick at February 20, 2016 - 9:14 PM

Port can define their own

Posted by Gary at March 04, 2016 - 9:28 PM

I mean, why don't I open the Rsync process, the 873 port didn't start will be able to directly use the Rsync command to synchronize files

Posted by Patrick at March 16, 2016 - 9:37 PM

It is in this machine do different host communication should be open to the port.

Posted by Gary at March 28, 2016 - 9:47 PM

Not the machine, is different between the server synchronization, do not open the firewall, and the machine has no Rsync process
It seems the commands themselves do not quite understand, don't you know? ?

Posted by Patrick at April 03, 2016 - 10:19 PM

Post configuration /etc/rsyncd.conf
Port: netstat -an

Posted by Gary at April 15, 2016 - 11:07 PM

RPM packaging, the main configuration file is not/etc/rsyncd.conf

Posted by Patrick at April 27, 2016 - 11:47 PM

You should be xinetd this is to package the Rsync into service to service startup boot

The actual or rsyncd, this can not change the default port 873

netstat -an | Grep 873 can view port is already open

Posted by Gary at May 12, 2016 - 12:08 AM

Only one /etc/xinetd.d/rsync, which is the default configuration
  1. # default: off
  2. # description: The rsync server is a good addition to an ftp server, as it \
  3. # allows crc checksumming etc.
  4. service rsync
  5. {
  6. disable = yes
  7. socket_type = stream
  8. wait = no
  9. user = root
  10. server = /usr/bin/rsync
  11. server_args = --daemon
  12. log_on_failure += USERID
  13. }

Posted by Patrick at May 19, 2016 - 12:13 AM

Netstat -an see no port 873

Posted by Patrick at May 22, 2016 - 1:13 AM

To find the server rsyncd.conf file /opt/app/rsync/rsyncd.conf  see configuration has not change the port

See the connection mode of the client. The regular implementation in crontab
/usr/bin/Rsync -artuz --delete -R --port= port number user @IP:: project --password-file= local password path local synchronization path

Posted by Gary at June 05, 2016 - 1:29 AM

Regardless of the client and the server, that is two above have the RPM installation package Rsync, and then between two synchronization is not a problem, do not need to open the 873 port, I once thought that Rsync is using the SSH protocol

Posted by Patrick at June 15, 2016 - 2:09 AM

Because when I perform
  1. rsync -aSvH filename username@remote_IP:/Route
Only when the account password authentication what you can, do not need to specify the port, no need to open the firewall

Posted by Patrick at June 24, 2016 - 2:16 AM

This is the use of the SSH protocol

Posted by Gary at July 07, 2016 - 2:29 AM

The use of SSH protocol can do not lose the password automatic synchronization

Posted by Gary at July 19, 2016 - 2:55 AM

After the configured SSH trust, this step can be omitted input password.

Posted by Gloria at December 28, 2016 - 6:44 PM

Well, it should be

Posted by Patrick at January 09, 2017 - 7:03 PM

LZ should understand when using Rsync, the difference between a colon and two colon´╝ü

Posted by Pauline at January 11, 2017 - 7:56 PM

The command post, is not used for -e SSH, that would go on port 22, not 873

Posted by Sonia at January 15, 2017 - 7:15 PM