The customer is given the option to enable SSH to the NSX Manager during the NSX manager appliance deployment. However, if it is not configured at the time and SSH to the NSX managers is needed, this document has been created to assist with enabling SSH.
VMware NSX
To enable SSH to NSX Manager, log in to your vCenter Server and open the VM console of the NSX Manager in which you want to enable SSH. To start the SSH Service in NSX Manager, run the below command:
start service ssh
Starting the service will not persist across the reboot. The reboot of the NSX Manager may stop the SSH service during boot. If you want the service during the boot of NSX Manager. Run the below command:
set service ssh start-on-boot
To validate the service status and start on boot configuration, run the below command:
get service ssh