backuppc rsync backups on different ports

Posted on 2008-11-03
Medium Priority
Last Modified: 2008-11-10
I have installed backuppc and have configured the backup server@  ssh port for it is 22

i have configured client machine@  ssh port for it is 22

what i want to do is have backup pc use rsync on a different port.  i want the backup server to use ssh port 100
and the client machine to use ssh port 200

I have looked at rsyncd in the man pages and from my understanding it will leave a password file on the machine, i dont think i want that.

right now with ssh port at 22 all backups are working fine.  but i want to change the ports to what i have put above.

Question by:knightdogs
  • 2
LVL 14

Expert Comment

ID: 22873891
No probs! (but why?)

If you want to use another port with ssh all you need to do is edit the /etc/ssh/sshd_config and add a 'Port' statement for each port you want to listen to.

In your example that would be

Port 100
Port 200

and then restart the sshd (service ssh restart)

But there are no real good reasons for this action (IMO).


Author Comment

ID: 22876489
I am sorry i should have been more clean, what i want to do is to have backuppc server at location "A" connect to client machine at location "B" on port 200.  both locations are behind firewalls with rules applied to only allow traffic from each other.  i am planning that at location "B" i will be backing up multiple computers so i will have different SSH ports for each computer.
LVL 14

Accepted Solution

cjl7 earned 2000 total points
ID: 22883549
But why a different port for each computer?

It will not help security at all!

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question