Skip to main content
Table of Contents

GitHub Enterprise Server (On-Prem) Connection Guide

LinearB's paid plans support connecting to on-premises Git servers, including GitHub Enterprise Server (On-Prem).

Steven Silverstone
Updated by Steven Silverstone

Follow the steps below to establish the connection.

1. Select GitHub Enterprise Server as Your Git provider

  1. Navigate to Settings > Company Settings, and select the Git tab.
  2. Click Add Integration and choose GitHub Enterprise Server as your Git provider.

2. Allowing LinearB Access

If your GitHub Enterprise Server instance is accessible from the public internet, skip this step.

For private networks, you must allow LinearB's public IP addresses in your firewall:

  • 52.15.80.85
  • 54.241.87.26
  • 54.193.121.186
  • 18.118.232.229

For networks behind a VPN, ensure that a reverse proxy allows LinearB-specific access to GitHub Enterprise Server.

3. Insert Your GitHub Server URL

  1. After allowing LinearB’s IPs, enter your GitHub Server URL (e.g., https://github.yourdomain.com).
  2. LinearB will automatically check connectivity.
  3. Once verified, click Continue and proceed to the next step.

4. Connect to GitHub Enterprise Server

  1. After clicking Continue, you will be prompted to connect to GitHub Enterprise Server.
  • You will have the option to use either a Classic Token or a Fine-Grained Token.
  1. Click Create a classic token on GitHub Enterprise Server.
  2. Ensure that the following required scopes are selected:
  • read:repo_hook
  • repo
  • write:repo_hook
  • user:email
  • read:discussion
  • read:org
  • read:user
  1. Enter your classic token in the designated field.
  2. Click Connect to proceed.

5. Create a Personal Access Token

  1. Log in to GitHub Server and click your profile avatar in the upper-right corner.
  2. Select Settings from the dropdown menu.
  3. In the Developer Settings menu, navigate to Personal Access Tokens.
  4. Click Generate New Token and enter a name for the token.
  5. Select an expiry date (optional).
  6. Enable the following access scopes:
  • repo (Full control of private repositories)
  • admin:org (Read and write access to organization settings)
  • read:enterprise (Read access to enterprise settings)
  • admin:repo_hook (Full control of repository hooks)
  1. Click Generate Token.
  2. Copy the token immediately, as it will not be visible again after this step.

6. Validate and Connect

  1. Paste the personal access token into the LinearB setup interface.
  2. LinearB will automatically validate the token.
  3. Once validated, proceed to repository selection.

Need Assistance?

For further support, visit our Support Page.

How did we do?

Connect Your GitHub Account to LinearB

GitLab Server (On-Prem) Connection Guide

Contact