Even though some of the components of the UAG appliance can be fully configured from its web console interface, you may want to have remote access to the box itself for troubleshooting.
By default, SSH access is disabled on the appliance, but it can be easily activated.
Below I put together some steps to enable SSH on the UAG appliance:
Configure the sshd service:
Open to the UAG server from the vSphere console and login as root.
In order to enable SSH, you will need to modify the sshd_config configuration file, and enable the sshd service on the server.
Edit the sshd_config file. In this example I am using using vi.
On the Linux shell, type vi /etc/ssh/sshd_config and press <Enter>.
Make the following changes to the /etc/ssh/sshd_config file:
- Change the PermitRootLogin setting from no to yes.
- Comment the MaxSessions line (add # to the beginning of the line).
- Comment the AllowGroups line (add # to the beginning of the line).
Save the file: <ESC>, :wq!, <Enter>.
Enable the sshd service:
Use YaST to enable the sshd service.
Type yast<Enter> on the Linux shell to access it.
Navigate to System > Services Manager using the arrow keys and then press <Enter>.
Use the arrow keys to select the sshd service.
Press <Alt>+E to enable the service and <Alt>+S to start it.
To save the configuration, select the OK option by pressing either <Alt>+O or F10.
To exit YaST, select the Quit option by pressing F9.
One way to test it is to connect to itself by typing ssh localhost.
--
The postings on this site are my own and do not represent VMware’s positions, strategies or opinions.