Access the CylanceGATEWAY Connector using OpenSSH
CylanceGATEWAY Connector
using OpenSSHOpenSSH is preinstalled on the connector image and allows you to access the
CylanceGATEWAY Connector
and perform system operations and maintenance using the SSH protocol. By default, the OpenSSH service is disabled. You must enable the OpenSSH service and generate the host keys each time that you access a CylanceGATEWAY Connector
instance using OpenSSH. In Microsoft
Azure
environments, incoming TCP traffic must be allowed. - Do one of the following to open the console in your environment.EnvironmentDescriptionvSphere
- Log in to your environment.
- Click the host name of theCylanceGATEWAY Connector.
- ClickLaunch Remote ConsoleorLaunch Web Console.
ESXi- Log in to your environment.
- Click the host name of theCylanceGATEWAY Connector.
- ClickConsole.
Microsoft Azure- Sign in to theMicrosoft Azuremanagement portal at https://portal.azure.com.
- ClickVirtual machines.
- Click the connector that you created in Install the CylanceGATEWAY Connector to a Microsoft Azure environment, step 5.
- In the left menu, in theSupport + troubleshootingsection, clickSerial console.
- In the left column, clickBoot diagnostics.
- Click theSettingstab.
- SelectEnable with custom storage account.
- In theDiagnostics storage account, drop-down list, select the storage account that you created in Install the CylanceGATEWAY Connector to a Microsoft Azure environment, step 3.
- ClickSave.
- On the connector screen, in the left menu, in theSupport + troubleshootingsection, clickSerial console.
Hyper-V- Open theHyper-VManager.
- Right-click the connector that you want to access> Connect.
AWS- Sign in to theAWSmanagement Console at https://aws.amazon.com/console.
- Open the EC2 service.
- In the left column, underInstances, clickInstances.
- Select theCylanceGATEWAY Connectorinstance that you want to enable SSH on.
- Click theActionsdrop-down menu, clickMonitoring and troubleshoot > EC2 serial console.
- ClickConnect.
- At the UNIX prompt, type the administrator username and pressEnter. The default username is admin.
- Type the administrator password. The default password is admin.
- Generate the host keys for the OpenSSH service. Typesudo dpkg-reconfigure openssh-server. PressEnter.
- If you are prompted, enter the administrator password.
- Enable the OpenSSH service. Typesudo systemctl --system enable ssh. PressEnter.This command does not start the service.
- Start the OpenSSH service. Typesudo systemctl --system start ssh. PressEnter.
- You can complete any of the following actions (optional):TaskStepsDisable the OpenSSH service from starting during the system startup.Typesudo systemctl --system disable ssh. This command does not stop the service.Stop the OpenSSH service.Typesudo systemctl --system stop ssh. PressEnter.Verify if the OpenSSH service is enabled.Typesudo systemctl --system is-enabled ssh.Verify if the OpenSSH service is running.Typesudo systemctl --system is-active ssh.Obtain the status of the OpenSSH serviceTypesudo systemctl --system status ssh.
- Exit the console.
- Optionally, in aMicrosoft Azureenvironment, you can disable the Boot diagnostics settings for the connector VM that you configured in step 1.