Enabling and obtaining SSH access to the SonicWall / Aventail appliance
12/20/2019 1011 23146
SSH is a set of standards and protocols for establishing a secure connection between two computers. In the case of the appliance, SSH is used for secure command line interface access and for transferring files using Secure Copy (SCP).
Sometimes, it may become necessary to enable and obtain SSH (Secure Shell) access to the SonicWall / Aventail appliance to perform maintenance or configurations on the command-line interface (CLI). This article will step you through how to enable SSH access, recommend a couple of SSH clients and explain what login details are required in the SSH client.
Obtaining the SSH client
SonicWall recommends two Windows SSH clients - SecureCRT, available at http://www.vandyke.com/products/securecrt/ (Shareware, free trial available) and PuTTY, available at http://www.chiark.greenend.org.uk/~sgtatham/putty/ (Freeware). Other platforms such as Mac OS X and Linux have a built in SSH client that can be accessed via the command line.
Enabling SSH on the appliance
- Log into AMC.
- Click Services under System Configuration.
- Click Configure under SSH.
- Click the Enable SSH checkbox.
- Add a new range of hosts that will have access to the appliance. Be careful to add only the address ranges that are trusted and should have access to the appliance.
- Click Save.
- Apply pending configuration changes.
Connecting to the appliance
- Launch your SSH client.
- Configure the client to connect to either to the internal or external IP address of the appliance.
- If a username box is present in your client, enter the username root.
- Click the connect (or equivalent) button.
- For the password, enter in the same password that is used for the admin account in AMC.