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>.

 

Screen Shot 2018-01-09 at 17.20.32.png

 

 

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).

 

Screen Shot 2018-01-09 at 17.22.01.png

 

Screen Shot 2018-01-09 at 17.22.46.png

 

 

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.

 

Screen Shot 2018-01-09 at 17.24.05.png

 

 

Navigate to System > Services Manager using the arrow keys and then press <Enter>.

 

Screen Shot 2018-01-09 at 17.24.28.png

 

 

Use the arrow keys to select the sshd service.

Press <Alt>+E to enable the service and <Alt>+S to start it.

 

Screen Shot 2018-01-09 at 17.26.23.png

 

 

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.

 

Screen Shot 2018-01-09 at 17.28.43.png

 

 

 

--

 

The postings on this site are my own and do not represent VMware’s positions, strategies or opinions.