Submitted by SoftDux on Fri, 09/09/2011 - 12:00
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
Submitted by JamieCameron on Fri, 09/09/2011 - 12:20 Comment #1
Sure, that's a good idea .. I will implement this in the next release or two.
Submitted by JamieCameron on Tue, 09/13/2011 - 19:07 Comment #2
This has been implemented for inclusion in the next Cloudmin release.
Submitted by Issues on Tue, 09/27/2011 - 19:21 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by SoftDux on Wed, 10/05/2011 - 05:13 Comment #4
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?
Submitted by JamieCameron on Wed, 10/05/2011 - 10:38 Comment #5
No, if you change the port on the Edit System page it doesn't reconfigure the system .. Just changes the port cloudmin uses.
Submitted by SoftDux on Wed, 10/05/2011 - 13:46 Comment #6
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?
Submitted by JamieCameron on Wed, 10/05/2011 - 14:17 Comment #7
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..