mwpreston
Hot Shot
Hot Shot

non standard ssh ports

Jump to solution

Ok...here it goes... I changed ssh server to run on a non standard port.. I changed it in /etc/ssh/sshd_config as well as I noticed I need to change it in /etc/vmware/firewall/services.xml. After that i have restarted ssh as well as disabled, enabled ssh in the esx firewall and restarted the firewall. Everything is working great. I now ssh into my host on the other port...working perfect. The only thing is Virtual Centre. When I look at the configuration of the host in virtual center it still says that sshServer is running on port 22....which I know it isn't...I can't ssh into the box on that port.

I know that this isn't that big of a deal since everything is working the way it should be, i was just wondering why the changes I made are not reflected in virtual center....any help would be appreciated.

0 Kudos
1 Solution

Accepted Solutions
vmroyale
Immortal
Immortal

Hello and welcome to the forums.

Try a service vmware-mgmt restart on the host(s) and see if that helps. If not, try restarting the VirtualCenter Server service as well.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com

View solution in original post

0 Kudos
4 Replies
vmroyale
Immortal
Immortal

Hello and welcome to the forums.

Try a service vmware-mgmt restart on the host(s) and see if that helps. If not, try restarting the VirtualCenter Server service as well.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
mwpreston
Hot Shot
Hot Shot

What will this do to all of my vm's? This is a production environment and I would hate for them to all drop at once when I run vmware-mgmt?

0 Kudos
vmroyale
Immortal
Immortal

service mgmt-vmware restart will not impact your virtual machines.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Troy_Clavell
Immortal
Immortal

if possible review this KB before you restart hostd, just to be safe

http://kb.vmware.com/kb/1003312