Access the CylanceGATEWAY Connector using OpenSSH Skip Navigation

Access the
CylanceGATEWAY Connector
using OpenSSH

OpenSSH is preinstalled on the connector image and allows you to access the
CylanceGATEWAY Connector
and perform system operations and maintenance using the 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.
  1. Do one of the following to open the console in your environment.
    Environment
    Description
    vSphere
    1. Log in to your environment.
    2. Click the host name of the
      CylanceGATEWAY Connector
      .
    3. Click
      Launch Remote Console
      or
      Launch Web Console
      .
    ESXi
    1. Log in to your environment.
    2. Click the host name of the
      CylanceGATEWAY Connector
      .
    3. Click
      Console
      .
    Microsoft Azure
    1. Sign in to the
      Microsoft Azure
      management portal at https://portal.azure.com.
    2. Click
      Virtual machines
      .
    3. Click the connector that you created in Install the CylanceGATEWAY Connector to a Microsoft Azure environment, step 5.
    4. In the left menu, in the
      Support + troubleshooting
      section, click
      Serial console
      .
    5. In the left column, click
      Boot diagnostics
      .
    6. Click the
      Settings
      tab.
    7. Select
      Enable with custom storage account
      .
    8. In the
      Diagnostics storage account
      , drop-down list, select the storage account that you created in Install the CylanceGATEWAY Connector to a Microsoft Azure environment, step 3.
    9. Click
      Save
      .
    10. On the connector screen, in the left menu, in the
      Support + troubleshooting
      section, click
      Serial console
      .
    Hyper-V
    1. Open the
      Hyper-V
      Manager.
    2. Right-click the connector that you want to access
      > Connect
      .
  2. At the UNIX prompt, type the administrator username and press
    Enter
    . The default username is admin.
  3. Type the administrator password. The default password is admin.
  4. Generate the host keys for the OpenSSH service. Type
    sudo dpkg-reconfigure openssh-server
    . Press
    Enter
    .
  5. If you are prompted, enter the administrator password.
  6. Enable the OpenSSH service. Type
    sudo systemctl --system enable ssh
    . Press
    Enter
    .
    This command does not start the service.
  7. Start the OpenSSH service. Type
    sudo systemctl --system start ssh
    . Press
    Enter
    .
  8. You can complete any of the following actions (optional):
    Task
    Steps
    Disable the OpenSSH service from starting during the system startup.
    Type
    sudo systemctl --system disable ssh
    . This command does not stop the service.
    Stop the OpenSSH service.
    Type
    sudo systemctl --system stop ssh
    . Press
    Enter
    .
    Verify if the OpenSSH service is enabled.
    Type
    sudo systemctl --system is-enabled ssh
    .
    Verify if the OpenSSH service is running.
    Type
    sudo systemctl --system is-active ssh
    .
  9. Exist the console.
  10. Optionally, in a
    Microsoft Azure
    environment, you can disable the Boot diagnostics settings for the connector VM that you configured in step 1.