From ffc5b41de47c47c0f05ca2abffadb044dde9fc4f Mon Sep 17 00:00:00 2001 From: bss-mc <117171930+bss-mc@users.noreply.github.com> Date: Mon, 11 Aug 2025 12:25:45 +0900 Subject: [PATCH] Update about-ssh-certificate-authorities.md to separate GHEC and GHES information (#57041) Co-authored-by: Vanessa --- .../about-ssh-certificate-authorities.md | 4 ++-- data/reusables/organizations/can-require-ssh-cert.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities.md b/content/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities.md index 4529e8126afb..f53190a50958 100644 --- a/content/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities.md +++ b/content/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities.md @@ -39,11 +39,11 @@ Unless you make SSH certificates a requirement, organization members and outside ## About SSH URLs with SSH certificates -If your organization requires SSH certificates, to prevent authentication errors, organization members and outside collaborators should use a special URL that includes the organization ID when performing Git operations over SSH. This special URL allows the client and server to more easily negotiate which key on the member's computer should be used for authentication. If a member uses the normal URL, which starts with `git@github.com`, the SSH client might offer the wrong key, causing the operation to fail. +If your organization requires SSH certificates, to prevent authentication errors, organization members and outside collaborators should use a special URL that includes the organization ID when performing Git operations over SSH. This special URL allows the client and server to more easily negotiate which key on the member's computer should be used for authentication. If a member uses the normal URL, which starts with `git@{% data variables.product.product_url %}`, the SSH client might offer the wrong key, causing the operation to fail. Anyone with read access to the repository can find this URL by selecting the **Code** dropdown menu on the main page of the repository, then clicking **Use SSH**. -If your organization doesn't require SSH certificates, contributors can continue to use their own SSH keys, or other means of authentication. In that case, either the special URL or the normal URL, which starts with `git@github.com`, will work. +If your organization doesn't require SSH certificates, contributors can continue to use their own SSH keys, or other means of authentication. In that case, either the special URL or the normal URL, which starts with `git@{% data variables.product.product_url %}`, will work. ## Issuing certificates diff --git a/data/reusables/organizations/can-require-ssh-cert.md b/data/reusables/organizations/can-require-ssh-cert.md index 1ed5f3afb99a..67342de50895 100644 --- a/data/reusables/organizations/can-require-ssh-cert.md +++ b/data/reusables/organizations/can-require-ssh-cert.md @@ -1 +1 @@ -You can require that members use SSH certificates to access organization resources, unless SSH is disabled in your repository. +You can require that members use SSH certificates to access organization resources{% ifversion ghes %}, unless SSH is disabled in your repository{% endif %}.