Add option to specify different SSH port by default

Hi,

Can you please add an option in the CloudMin Configuration to automatically use a different SSH port for any Virtual Machines that get's created?

For security reasnons we don't use port 22, and all our XEN VM templates are configured with the new port, but everytime I add a new VM I need to first edit the VM after creation to change the port

Status: 
Closed (fixed)

Comments

Sure, that's a good idea .. I will implement this in the next release or two.

This has been implemented for inclusion in the next Cloudmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.

Thanx Jamie, this works quite well.

As matter of interest (I haven't test this yet) but if a user changes the port in CloudMin, will Cloudmin then automatically update the VPS and restart SSHD as needed?

No, if you change the port on the Edit System page it doesn't reconfigure the system .. Just changes the port cloudmin uses.

Could you make it so that CloudMin changes the port in /etc/ssh/sshd_config and then restart sshd as well?

I'm just thinking if a client wants to change the SSH port he might do it through CloudMin thinking CloudMin will update the VM as well?

That's something I could add. It is a little tricky to apply an SSH config change via SSH though, as an error could cause SSHd to go down or break Cloudmin's access to it..