backuppc rsync backups on different ports

I have installed backuppc 3.1.0.1 and have configured the backup server@192.168.0.100.  ssh port for it is 22

i have configured client machine@192.168.0.200  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.

thanks.
knightdogsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cjl7freelance for hireCommented:
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).

//jonas
0
knightdogsAuthor Commented:
cjl7,
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.
0
cjl7freelance for hireCommented:
But why a different port for each computer?

It will not help security at all!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.