VMware Networking Community
CejkaNSX52
Contributor
Contributor

enable ssh on NSX-T managers

Is there a way to enable SSH on NSX-T 2.4.x Managers after the initial installation?

Tags (1)
Reply
0 Kudos
3 Replies
daphnissov
Immortal
Immortal

NSX-T appliances use systemd so: systemctl sshd start should do it.

Reply
0 Kudos
Alex_Romeo
Leadership
Leadership

Hi,

Enable SSH and, if needed, allow root SSH login to the NSX Manager command line.

By default, these options are disabled for security reasons.

Deploy NSX-T Data Center NSX Manager Appliance

Install VMware NSX-T 2.4 Manager with vSphere Client • Virtual Brigade

https://docs.vmware.com/en/VMware-NSX-T-Data-Center/2.4/nsxt_24_install.pdf  (page 34)

pastedImage_1.png

Alessandro Romeo

Blog: https://www.aleadmin.it/
Reply
0 Kudos
thejaskv_emc
Contributor
Contributor

I was trying to get the same done and finally got it done, here is what I have followed.

1) Opened the NSX-T Manager VM console and logged as root.

2) Edit /etc/ssh/sshd_config in vim editor by modifying the following line,

Change PermitRootLogin to yes

Change StrictModes to no

3) Restart the ssh service

/etc/init.d/ssh restart

Reply
0 Kudos