Welcome, Guest
Please Login or Register.
Lost Password?
Virtualmin Backups via SSH on different port (1 viewing)
Post Reply

TOPIC: Virtualmin Backups via SSH on different port

#15614
JefLofts (User)
Posts: 4
graphgraph
Virtualmin Backups via SSH on different port 2008/08/12 04:08  
I'm trying to set up Virtual Server backups from one Virtulamin Pro server to another via the Virtualmin->Backup and Restore->Backup Virtual Sites. For security I've changed SSH port from 22 to 99.

The backups do not work and complain that they can't use port 22.

I've set up a .ssh/config file for root to force ssh to use port 99. I have set up keys on the servers so one can ssh into the other without using passwords, and due to the .ssh/config file I don't need to specify the port.

Is there a way for me to tell Virtualmin to use port 99 for ssh (for the backups), or even get it to use my settings in /root/.ssh/config.

Regards

Jef.
  The administrator has disabled public write access.
#15615
andreychek (Moderator)
Posts: 587
graphgraph
Re:Virtualmin Backups via SSH on different port 2008/08/12 04:53  
Hey Jef,

You should be able to add the port number to the end of the hostname. For example, something along these lines:

domain.com:99
  The administrator has disabled public write access.
#15616
JefLofts (User)
Posts: 4
graphgraph
Re:Virtualmin Backups via SSH on different port 2008/08/12 05:25  
Thanks andreychek

That's solved it and it's now working.

I tried -p 99 (usual ssh syntax) but didn't think to try :99.

Thanks for your help.

Regards

Jef.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.