backuppc rsync backups on different ports

Posted on 2008-11-03
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
    LVL 14

    Expert Comment

    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

    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

    But why a different port for each computer?

    It will not help security at all!

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
    The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
    This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now