Change ssh port Virtualmin backup

3 posts / 0 new
Last post
#1 Wed, 08/09/2006 - 05:09
timmyd

Change ssh port Virtualmin backup

hi,

My backup server has another port for the SSH than the standard / default port 22.

Now if i wanna make a backup from Virtualmin to my backup server he still chooses the default port.(22)

Where can i change this...?

I am using Virtualmin v2.604

Cheerz!

(i have seen the new version does have a easier solution but i can't upgrade now)

Wed, 08/09/2006 - 14:20
Joe
Joe's picture

<i>(i have seen the new version does have a easier solution but i can't upgrade now)</i>

Hmmmm...Well, I suppose you could backport the changes from the newer version, though I don't immediately see where the ssh stuff comes into play, so I can't point you to it.

You're gonna have to change the source code to get it to do what you want, if you're not willing to upgrade.

You could also make your backups locally, and then use a cronjob to copy the backup files to your other server. Not ideal, but wouldn't require you to dig into the source.

Any specific reason you can't upgrade to the latest version?

--

Check out the forum guidelines!

Wed, 08/09/2006 - 16:29
timmyd

cos i am afraid i will run into more problems / work

i did some small additions in the sourcecode...
for example i never use the default public_html dir. for
virtual servers...

i know i have to fix this in the source..
but i cant find where it calls the port number..