Which NSX CLI command will enable the SSH service on the NSX Edge node?
Which NSX CLI command will enable the SSH service on the NSX Edge node?
The correct NSX CLI command to enable the SSH service on the NSX Edge node is 'set service ssh enabled'. This command directly addresses the action of enabling the SSH service. Other options such as configuring the service to start automatically on boot (e.g., 'set service ssh start-on-boot enabled') are more advanced configurations that go beyond merely enabling the service.
It's B: the question is on how to enable the service, not on how persistently enable it. In D the command is wrong: the right command is 'set service ssh start-on-boot' without the 'enable' on tail. C is a mix of two commands and will not work.
Agree with B: https://docs.vmware.com/en/VMware-Validated-Design/services/deployment-of-nsx-t-edge-nodes-on-bare-metal-hardware-for-vmware-cloud-foundation-310/GUID-A38E3949-1781-49BD-86F9-18056C07E0CE.html
C is correct... If you did not enable SSH while installing the appliance, you can use the set service ssh start-on-boot command to enable the SSH service. https://vdc-download.vmware.com/vmwb-repository/dcr-public/46158b4f-e75f-49a6-8014-056750afa658/a944ad7a-6043-41d7-91a2-99f602996c77/NSX-T%20Command-Line%20Interface%20Reference.html#set%20capture%20session%20%3Csession-number%3E%20[file%20%3Cfilename%3E]%20[count%20%3Cpacket-count%3E]%20[expression%20%3Cexpression%3E]
http://www.vmwarearena.com/enable-ssh-in-nsx-t-manager/
B is Correct, Question is tricky here where it asks just about "enabling SSH service" and not about start. Enable SSH and configure it to start automatically when the NSX-T Edge node is restarted. start service ssh set service ssh start-on-boot
Looks like "C" is correct. set service ssh start-on-boot - this will auto-start ssh service on every reboot.
set service ssh start-on-boot is not exists in the Choices :) Answer is B