← Back to all services
Backup

rsync Daemon Port & Configuration

rsync systemctl: N/A (command-line tool)

Fast, versatile file copying tool. Supports incremental transfers, compression.

🔌 Default Ports

873
tcp
rsync daemon (if running rsyncd)
22
tcp
SSH (for rsync over SSH)

📦 Installation Command

apt install rsync

⚙️ Configuration Files

  • /etc/rsyncd.conf
  • /etc/rsyncd.secrets

📂 Default Directories

  • config: /etc/rsyncd.conf (daemon mode)
  • data: N/A
  • logs: /var/log/rsyncd.log

🔐 Default Credentials

Username:N/A
Password:N/A
💡 Uses SSH auth when using rsync over SSH. Daemon mode uses rsyncd.secrets file.

⚠️ Conflicts

N/A Port: N/A

✅ Works With

sshcronany backup strategy

🛡️ Security Notes

Always use rsync over SSH, avoid daemon mode unless necessary, use --delete carefully

❓ Frequently Asked Questions

What port does rsync use?
rsync daemon uses port 873. rsync over SSH uses port 22.
rsync daemon vs SSH?
Daemon is faster but less secure. SSH mode encrypts transfer and uses existing SSH keys.
Where is rsync daemon config?
Config at /etc/rsyncd.conf.