When SSH is not enabled on SonicWall NSv, you must access the command-line interface (CLI) directly through the Hyper-V virtual machine console. This method is commonly used during initial deployment, password recovery, or when the management interface is not reachable.
To launch the NSv CLI from the Hyper-V vm console
Open the Hyper-V Manager.
Connect to the Hyper-V host where the NSv virtual machine is deployed.
Locate the NSv virtual machine in the list.
Right-click the NSv VM and select Connect.
On the NSV VM Console , press Enter to display the login prompt.
Sign in using the NSv administrator credentials.
After successful login, the NSv CLI prompt appears.
To enable SSH from the CLI, enter configuration mode > navigate to the administration context > run the enable-ssh command, and then commit the changes.