diff --git a/agentsdeployment/index.html b/agentsdeployment/index.html index 2ce64f6..a840d37 100755 --- a/agentsdeployment/index.html +++ b/agentsdeployment/index.html @@ -376,19 +376,23 @@
  • - + - 3. Provide the Private SSH Key to AppControl + 3. SSH Server on Windows (Optional)
  • + + +
  • 4. Deploy Agents via the Gateway -
  • + @@ -537,19 +548,23 @@
  • - + - 3. Provide the Private SSH Key to AppControl + 3. SSH Server on Windows (Optional)
  • + + +
  • 4. Deploy Agents via the Gateway -
  • + @@ -570,12 +592,17 @@

    Automatic Deployment of Agents

    Deploy Agents Automatically via the Gateway

    AppControl simplifies the process of deploying agents in your infrastructure by leveraging the gateway. To automate the deployment of agents, AppControl requires SSH access to the target infrastructure using the private SSH key. Below are the steps to configure SSH, generate SSH keys on both Linux and Windows, and provide the necessary key to enable automatic deployment.

    +

    1. Configure SSH Access

    For AppControl to deploy agents automatically, the gateway needs access to the target machines via SSH. Ensure that SSH is properly configured on your target systems.

    +
    +

    Note: The public SSH key must be added to the ~/.ssh/authorized_keys file on the SSH server of the target machines. This ensures that AppControl can authenticate using the corresponding private SSH key.

    +
    +

    2. Generate SSH Keys (Private Key Required by AppControl)

    To allow AppControl to manage agent deployment via the gateway, the private SSH key must be provided. Follow the steps below to generate SSH keys on Linux or Windows.

    Linux (or macOS)
    @@ -593,19 +620,26 @@
    Linux (or macOS)
  • -

    When prompted for a passphrase, press Enter to leave it empty (or add a passphrase if required for extra security).

    +

    When prompted for a passphrase, press Enter to leave it empty (or add a passphrase if extra security is required).

  • This command will generate two files:

    Windows

    To generate SSH keys on Windows, you can use either Git Bash or PowerShell (with OpenSSH).

    Option 1: Using Git Bash
      -
    1. Install Git for Windows if you haven’t already.
    2. +
    3. Install Git for Windows if not already installed.
    4. Open Git Bash.
    5. Run the following command to generate an SSH key pair:

      @@ -613,7 +647,12 @@
      Option 1: Using Git Bash
      ssh-keygen -t rsa -b 2048 -f ~/.ssh/appcontrol_key

    6. -

      When prompted, press Enter to use the default file location, and leave the passphrase empty (or add one if you prefer).

      +

      When prompted, press Enter to use the default file location, and leave the passphrase empty (or add one if preferred).

      +
    7. +
    8. +

      Add the public key to the authorized_keys file on the target machine:

      +

      bash +cat ~/.ssh/appcontrol_key.pub >> ~/.ssh/authorized_keys

    Option 2: Using PowerShell (Windows 10/11)
    @@ -632,15 +671,84 @@
    Option 2: Using PowerShell (Wind

    Public key: C:\Users\YourUsername\.ssh\appcontrol_key.pub

  • -

    When prompted for a passphrase, press Enter to skip or provide a passphrase if additional security is needed.

    +

    Add the public key to the authorized_keys file on the target machine:

    +

    powershell +Get-Content $env:USERPROFILE\.ssh\appcontrol_key.pub | Out-File -Append -Encoding ascii $env:USERPROFILE\.ssh\authorized_keys

  • -

    3. Provide the Private SSH Key to AppControl

    +
    +

    3. SSH Server on Windows (Optional)

    +

    For Windows systems, you can optionally deploy an SSH server to allow AppControl to connect and manage agents. OpenSSH Server is an optional feature in Windows, which you can enable via the following steps:

    +
      +
    1. Go to Settings > Apps > Optional Features.
    2. +
    3. Scroll down and click Add a feature.
    4. +
    5. Search for OpenSSH Server, select it, and click Install.
    6. +
    +
    +

    For more detailed instructions, refer to the official Windows documentation.

    +
    +

    Once installed, configure the SSH server, and ensure the public key is added to the authorized_keys file.

    +
    +

    4. Deploy Agents via the Gateway

    +

    Once SSH is configured and the private key is provided, follow these steps to deploy agents using the AppControl gateway:

    +
      +
    1. +

      Select the Target Machines:

      + +
    2. +
    3. +

      Verify Connectivity:

      + +
    4. +
    5. +

      Deploy Agents:

      + +
    6. +
    +
    +

    Installation Paths:

    +
    + +
    +

    5. Troubleshooting SSH Connection

    +

    If you encounter issues with the SSH connection during the deployment process, check the following:

    +
      +
    1. +

      Private SSH Key:

      + +
    2. +
    3. +

      SSH Port and User Permissions:

      + +
    4. +
    5. +

      Firewall and Network Configuration:

      + +
    6. +
    +
    +

    6. Provide the Private SSH Key to AppControl

    AppControl requires the private SSH key for authentication during agent deployment. The public key is added to the target machines in the ~/.ssh/authorized_keys file, and the private key remains with AppControl to establish the connection.

    1. Locate the Private Key:
    2. Upload the Private Key to AppControl:
        @@ -654,21 +762,6 @@

        3. Provide the Private SSH

        Note: The private SSH key remains confidential and is only used by AppControl to establish a secure SSH connection to the target machines. The corresponding public key should already be added to the ~/.ssh/authorized_keys file on the target machines.

        -

        4. Deploy Agents via the Gateway

        -

        Once SSH is configured and the private key is provided, follow these steps:

        -
          -
        1. Select the Target Machines: In the AppControl dashboard, go to the "Deploy Agents" section and select the machines where agents should be deployed.
        2. -
        3. Verify Connectivity: AppControl will verify the SSH connection to the target machines using the private key.
        4. -
        5. Deploy Agents: Once the connection is established, AppControl will automatically deploy the agents to the selected machines.
        6. -
        -

        5. Troubleshooting SSH Connection

        -

        If you encounter any issues with the SSH connection, check the following:

        -
          -
        • Ensure that the private SSH key is properly configured and uploaded.
        • -
        • Verify that the SSH port and user permissions are correctly set up on the target machine.
        • -
        • Check firewall rules or network configurations that might block SSH access.
        • -
        -