VMware NSX
VMware NSX-T Datacenter
> get service ssh
Service name: ssh
Service state: running
Start on boot: True
Root login: disabled
Note: If SSH service is not running, PUTTY/SSH of NSX manager won't connect. In that case, login to the vCenter server web interface where the NSX manager is present and directly access the console of NSX manager. Login as user admin and run the command start service ssh
Re-run the command get service ssh to ensure service state shows as running. You can now open the PUTTY/SSH and connect to the NSX manager command line interface.
> set ssh root-login> get service sshService name: sshService state: runningStart on boot: TrueRoot login: enabled > clear ssh root-login > get service ssh Service name: ssh Service state: running Start on boot: True Root login: disabled
> st en Password:
Note: To be able to connect to the NSX manager via WinSCP as user root, you need to enable the direct root login as per the steps mentioned above.