updating content files
This commit is contained in:
@@ -11,7 +11,7 @@ versions:
|
||||
topics:
|
||||
- SSO
|
||||
---
|
||||
### About authentication with SAML SSO
|
||||
## About authentication with SAML SSO
|
||||
|
||||
{% if currentVersion == "github-ae@latest" %}
|
||||
|
||||
@@ -41,7 +41,7 @@ If you don't have a personal access token or an SSH key, you can create a person
|
||||
|
||||
To use a new or existing personal access token or SSH key with an organization that uses or enforces SAML SSO, you will need to authorize the token or authorize the SSH key for use with a SAML SSO organization. For more information, see "[Authorizing a personal access token for use with SAML single sign-on](/articles/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)" or "[Authorizing an SSH key for use with SAML single sign-on](/articles/authorizing-an-ssh-key-for-use-with-saml-single-sign-on)."
|
||||
|
||||
### About {% data variables.product.prodname_oauth_apps %} and SAML SSO
|
||||
## About {% data variables.product.prodname_oauth_apps %} and SAML SSO
|
||||
|
||||
You must have an active SAML session each time you authorize an {% data variables.product.prodname_oauth_app %} to access an organization that uses or enforces SAML SSO.
|
||||
|
||||
@@ -49,7 +49,7 @@ After an enterprise or organization owner enables or enforces SAML SSO for an or
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}- "[About identity and access management with SAML single sign-on](/organizations/managing-saml-single-sign-on-for-your-organization/about-identity-and-access-management-with-saml-single-sign-on)"{% endif %}
|
||||
{% if currentVersion == "github-ae@latest" %}- "[About identity and access management for your enterprise](/admin/authentication/about-identity-and-access-management-for-your-enterprise)"{% endif %}
|
||||
|
||||
@@ -21,7 +21,7 @@ You can authorize an existing personal access token, or [create a new personal a
|
||||
4. Click **Authorize**.
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)"
|
||||
- "[About authentication with SAML single sign-on](/articles/about-authentication-with-saml-single-sign-on)"
|
||||
|
||||
@@ -26,7 +26,7 @@ You can authorize an existing SSH key, or create a new SSH key and then authoriz
|
||||
5. Click **Authorize**.
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Checking for existing SSH keys](/articles/checking-for-existing-ssh-keys)"
|
||||
- "[About authentication with SAML single sign-on](/articles/about-authentication-with-saml-single-sign-on)"
|
||||
|
||||
@@ -24,6 +24,6 @@ topics:
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About authentication with SAML SSO](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)"
|
||||
|
||||
@@ -25,7 +25,7 @@ If you haven't used your SSH key for a year, then {% data variables.product.prod
|
||||
|
||||
If you're a member of an organization that provides SSH certificates, you can use your certificate to access that organization's repositories without adding the certificate to your {% data variables.product.product_name %} account. For more information, see "[About SSH certificate authorities](/articles/about-ssh-certificate-authorities)."
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Checking for existing SSH keys](/articles/checking-for-existing-ssh-keys)"
|
||||
- "[Testing your SSH connection](/articles/testing-your-ssh-connection)"
|
||||
|
||||
@@ -123,7 +123,7 @@ After adding a new SSH key to your {% data variables.product.product_name %} acc
|
||||
{% endlinux %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Authorizing an SSH key for use with SAML single sign-on](/articles/authorizing-an-ssh-key-for-use-with-saml-single-sign-on)"
|
||||
{% endif %}
|
||||
|
||||
@@ -13,7 +13,7 @@ versions:
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
### About SSH key generation
|
||||
## About SSH key generation
|
||||
|
||||
If you don't already have an SSH key, you must generate a new SSH key to use for authentication. If you're unsure whether you already have an SSH key, you can check for existing keys. For more information, see "[Checking for existing SSH keys](/github/authenticating-to-github/checking-for-existing-ssh-keys)."
|
||||
|
||||
@@ -24,7 +24,7 @@ If you want to use a hardware security key to authenticate to {% data variables.
|
||||
{% endif %}
|
||||
If you don't want to reenter your passphrase every time you use your SSH key, you can add your key to the SSH agent, which manages your SSH keys and remembers your passphrase.
|
||||
|
||||
### Generating a new SSH key
|
||||
## Generating a new SSH key
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Paste the text below, substituting in your {% data variables.product.product_name %} email address.
|
||||
@@ -75,7 +75,7 @@ If you don't want to reenter your passphrase every time you use your SSH key, yo
|
||||
> Enter same passphrase again: <em>[Type passphrase again]</em>
|
||||
```
|
||||
|
||||
### Adding your SSH key to the ssh-agent
|
||||
## Adding your SSH key to the ssh-agent
|
||||
|
||||
Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key. <span class="platform-mac">When adding your SSH key to the agent, use the default macOS `ssh-add` command, and not an application installed by [macports](https://www.macports.org/), [homebrew](http://brew.sh/), or some other external source.</span>
|
||||
|
||||
@@ -178,7 +178,7 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
|
||||
{% endlinux %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@next" or currentVersion ver_gt "enterprise-server@3.1" %}
|
||||
### Generating a new SSH key for a hardware security key
|
||||
## Generating a new SSH key for a hardware security key
|
||||
|
||||
If you are using macOS or Linux, you may need to update your SSH client or install a new SSH client prior to generating a new SSH key. For more information, see "[Error: Unknown key type](/github/authenticating-to-github/error-unknown-key-type)."
|
||||
|
||||
@@ -232,7 +232,7 @@ If you are using macOS or Linux, you may need to update your SSH client or insta
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About SSH](/articles/about-ssh)"
|
||||
- "[Working with SSH key passphrases](/articles/working-with-ssh-key-passphrases)"
|
||||
|
||||
@@ -15,7 +15,7 @@ topics:
|
||||
---
|
||||
With SSH keys, if someone gains access to your computer, they also gain access to every system that uses that key. To add an extra layer of security, you can add a passphrase to your SSH key. You can use `ssh-agent` to securely save your passphrase so you don't have to reenter it.
|
||||
|
||||
### Adding or changing a passphrase
|
||||
## Adding or changing a passphrase
|
||||
|
||||
You can change the passphrase for an existing private key without regenerating the keypair by typing the following command:
|
||||
|
||||
@@ -32,7 +32,7 @@ If your key already has a passphrase, you will be prompted to enter it before yo
|
||||
|
||||
{% windows %}
|
||||
|
||||
### Auto-launching `ssh-agent` on Git for Windows
|
||||
## Auto-launching `ssh-agent` on Git for Windows
|
||||
|
||||
You can run `ssh-agent` automatically when you open bash or Git shell. Copy the following lines and paste them into your `~/.profile` or `~/.bashrc` file in Git shell:
|
||||
|
||||
@@ -87,7 +87,7 @@ The `ssh-agent` process will continue to run until you log out, shut down your c
|
||||
|
||||
{% mac %}
|
||||
|
||||
### Saving your passphrase in the keychain
|
||||
## Saving your passphrase in the keychain
|
||||
|
||||
On Mac OS X Leopard through OS X El Capitan, these default private key files are handled automatically:
|
||||
|
||||
@@ -100,6 +100,6 @@ Otherwise, you can store your passphrase in the keychain when you add your key t
|
||||
|
||||
{% endmac %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About SSH](/articles/about-ssh)"
|
||||
|
||||
@@ -18,7 +18,7 @@ Videos also get anonymized URLs with the same format as image URLs, but are not
|
||||
|
||||
Anyone who receives your anonymized URL, directly or indirectly, may view your image or video. To keep sensitive media files private, restrict them to a private network or a server that requires authentication instead of using Camo.
|
||||
|
||||
### Troubleshooting issues with Camo
|
||||
## Troubleshooting issues with Camo
|
||||
|
||||
In rare circumstances, images that are processed through Camo might not appear on {% data variables.product.prodname_dotcom %}. Here are some steps you can take to determine where the problem lies.
|
||||
|
||||
@@ -32,7 +32,7 @@ Windows users will either need to use the Git Powershell (which is installed alo
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
#### An image is not showing up
|
||||
### An image is not showing up
|
||||
|
||||
If an image is showing up in your browser but not on {% data variables.product.prodname_dotcom %}, you can try requesting it locally.
|
||||
|
||||
@@ -55,7 +55,7 @@ If your content type is not supported by Camo, you can try several actions:
|
||||
* If you're using an external service for hosting images, contact support for that service.
|
||||
* Make a pull request to Camo to add your content type to the list.
|
||||
|
||||
#### An image that changed recently is not updating
|
||||
### An image that changed recently is not updating
|
||||
|
||||
If you changed an image recently and it's showing up in your browser but not {% data variables.product.prodname_dotcom %}, you can try resetting the cache of the image.
|
||||
|
||||
@@ -76,7 +76,7 @@ Check the value of `Cache-Control`. In this example, there's no `Cache-Control`.
|
||||
|
||||
If `Cache-Control` *is* set to `no-cache`, contact {% data variables.contact.contact_support %} or search the {% data variables.contact.community_support_forum %}.
|
||||
|
||||
#### Removing an image from Camo's cache
|
||||
### Removing an image from Camo's cache
|
||||
|
||||
Purging the cache forces every {% data variables.product.prodname_dotcom %} user to re-request the image, so you should use it very sparingly and only in the event that the above steps did not work.
|
||||
|
||||
@@ -87,12 +87,12 @@ Purging the cache forces every {% data variables.product.prodname_dotcom %} user
|
||||
> {"status": "ok", "id": "216-8675309-1008701"}
|
||||
```
|
||||
|
||||
#### Viewing images on private networks
|
||||
### Viewing images on private networks
|
||||
|
||||
If an image is being served from a private network or from a server that requires authentication, it can't be viewed by {% data variables.product.prodname_dotcom %}. In fact, it can't be viewed by any user without asking them to log into the server.
|
||||
|
||||
To fix this, please move the image to a service that is publicly available.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Proxying user images](https://github.com/blog/1766-proxying-user-images)" on {% data variables.product.prodname_blog %}
|
||||
|
||||
@@ -11,7 +11,7 @@ topics:
|
||||
redirect_from:
|
||||
- /github/authenticating-to-github/about-authentication-to-github
|
||||
---
|
||||
### About authentication to {% data variables.product.prodname_dotcom %}
|
||||
## About authentication to {% data variables.product.prodname_dotcom %}
|
||||
|
||||
To keep your account secure, you must authenticate before you can access{% if currentVersion != "github-ae@latest" %} certain{% endif %} resources on {% data variables.product.product_name %}. When you authenticate to {% data variables.product.product_name %}, you supply or confirm credentials that are unique to you to prove that you are exactly who you declare to be.
|
||||
|
||||
@@ -21,7 +21,7 @@ You can access your resources in {% data variables.product.product_name %} in a
|
||||
- Personal access token
|
||||
- SSH key
|
||||
|
||||
### Authenticating in your browser
|
||||
## Authenticating in your browser
|
||||
|
||||
You can authenticate to {% data variables.product.product_name %} in your browser {% if currentVersion == "github-ae@latest" %}using your IdP. For more information, see "[About authentication with SAML single sign-on](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)."{% else %}in different ways.
|
||||
|
||||
@@ -32,11 +32,11 @@ You can authenticate to {% data variables.product.product_name %} in your browse
|
||||
- In addition to authentication with a mobile application or a text message, you can optionally add a secondary method of authentication with a security key using WebAuthn. For more information, see "[Configuring two-factor authentication using a security key](/github/authenticating-to-github/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key)."
|
||||
{% endif %}
|
||||
|
||||
### Authenticating with {% data variables.product.prodname_desktop %}
|
||||
## Authenticating with {% data variables.product.prodname_desktop %}
|
||||
|
||||
You can authenticate with {% data variables.product.prodname_desktop %} using your browser. For more information, see "[Authenticating to {% data variables.product.prodname_dotcom %}](/desktop/getting-started-with-github-desktop/authenticating-to-github)."
|
||||
|
||||
### Authenticating with the API
|
||||
## Authenticating with the API
|
||||
|
||||
You can authenticate with the API in different ways.
|
||||
|
||||
@@ -47,7 +47,7 @@ You can authenticate with the API in different ways.
|
||||
- **GitHub Apps**
|
||||
- For GitHub Apps in production, you should authenticate on behalf of the app installation. For more information, see "[Authenticating with {% data variables.product.prodname_github_apps %}](/apps/building-github-apps/authenticating-with-github-apps/)."
|
||||
|
||||
### Authenticating with the command line
|
||||
## Authenticating with the command line
|
||||
|
||||
You can access repositories on {% data variables.product.product_name %} from the command line in two ways, HTTPS and SSH, and both have a different way of authenticating. The method of authenticating is determined based on whether you choose an HTTPS or SSH remote URL when you clone the repository. For more information about which way to access, see "[About remote repositories](/github/getting-started-with-github/about-remote-repositories)."
|
||||
|
||||
@@ -59,7 +59,7 @@ You can access repositories on {% data variables.product.product_name %} from th
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.1" or currentVersion == "github-ae@next" %}
|
||||
|
||||
### {% data variables.product.company_short %}'s token formats
|
||||
## {% data variables.product.company_short %}'s token formats
|
||||
|
||||
{% data variables.product.company_short %} issues tokens that begin with a prefix to indicate the token's type.
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@ We make changes to our IP addresses from time to time, and will keep this API up
|
||||
|
||||
For applications to function, you must allow TCP ports 22, 80, 443, and 9418 via our IP ranges for `github.com`.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Troubleshooting connectivity problems](/articles/troubleshooting-connectivity-problems)"
|
||||
|
||||
@@ -24,7 +24,7 @@ When an {% data variables.product.prodname_oauth_app %} wants to identify you by
|
||||
|
||||
{% endif %}
|
||||
|
||||
### {% data variables.product.prodname_oauth_app %} access
|
||||
## {% data variables.product.prodname_oauth_app %} access
|
||||
|
||||
{% data variables.product.prodname_oauth_app %}s can have *read* or *write* access to your {% data variables.product.product_name %} data.
|
||||
|
||||
@@ -37,7 +37,7 @@ When an {% data variables.product.prodname_oauth_app %} wants to identify you by
|
||||
|
||||
{% endtip %}
|
||||
|
||||
#### About OAuth scopes
|
||||
### About OAuth scopes
|
||||
|
||||
*Scopes* are named groups of permissions that an {% data variables.product.prodname_oauth_app %} can request to access both public and non-public data.
|
||||
|
||||
@@ -51,7 +51,7 @@ When you want to use an {% data variables.product.prodname_oauth_app %} that int
|
||||
|
||||
{% data reusables.apps.oauth-token-limit %}
|
||||
|
||||
#### Types of requested data
|
||||
### Types of requested data
|
||||
|
||||
{% data variables.product.prodname_oauth_app %}s can request several types of data.
|
||||
|
||||
@@ -67,13 +67,13 @@ When you want to use an {% data variables.product.prodname_oauth_app %} that int
|
||||
| Repositories | Repository information includes the names of contributors, the branches you've created, and the actual files within your repository. Apps can request access for either public or private repositories on a user-wide level. |
|
||||
| Repository delete | Apps can request to delete repositories that you administer, but they won't have access to your code. |
|
||||
|
||||
### Requesting updated permissions
|
||||
## Requesting updated permissions
|
||||
|
||||
When {% data variables.product.prodname_oauth_app %}s request new access permissions, they will notify you of the differences between their current permissions and the new permissions.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
### {% data variables.product.prodname_oauth_app %}s and organizations
|
||||
## {% data variables.product.prodname_oauth_app %}s and organizations
|
||||
|
||||
When you authorize an {% data variables.product.prodname_oauth_app %} for your personal user account, you'll also see how the authorization will affect each organization you're a member of.
|
||||
|
||||
@@ -83,7 +83,7 @@ When you authorize an {% data variables.product.prodname_oauth_app %} for your p
|
||||
|
||||
If you belong to any organizations that enforce SAML single sign-on, you must have an active SAML session for each organization each time you authorize an {% data variables.product.prodname_oauth_app %}.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About {% data variables.product.prodname_oauth_app %} access restrictions](/articles/about-oauth-app-access-restrictions)"
|
||||
- "[{% data variables.product.prodname_marketplace %} support](/articles/github-marketplace-support)"
|
||||
|
||||
@@ -14,7 +14,7 @@ topics:
|
||||
---
|
||||
When a third-party application wants to identify you by your {% data variables.product.product_name %} login, you'll see a page with the developer contact information and a list of the specific data that's being requested.
|
||||
|
||||
### Contacting the application developer
|
||||
## Contacting the application developer
|
||||
|
||||
Because an application is developed by a third-party who isn't {% data variables.product.product_name %}, we don't know exactly how an application uses the data it's requesting access to. You can use the developer information at the top of the page to contact the application admin if you have questions or concerns about their application.
|
||||
|
||||
@@ -24,14 +24,14 @@ If the developer has chosen to supply it, the right-hand side of the page provid
|
||||
|
||||

|
||||
|
||||
### Types of application access and data
|
||||
## Types of application access and data
|
||||
|
||||
Applications can have *read* or *write* access to your {% data variables.product.product_name %} data.
|
||||
|
||||
- **Read access** only allows an application to *look at* your data.
|
||||
- **Write access** allows an application to *change* your data.
|
||||
|
||||
#### About OAuth scopes
|
||||
### About OAuth scopes
|
||||
|
||||
*Scopes* are named groups of permissions that an application can request to access both public and non-public data.
|
||||
|
||||
@@ -43,7 +43,7 @@ When you want to use a third-party application that integrates with {% data vari
|
||||
|
||||
{% endtip %}
|
||||
|
||||
#### Types of requested data
|
||||
### Types of requested data
|
||||
|
||||
There are several types of data that applications can request.
|
||||
|
||||
@@ -67,7 +67,7 @@ There are several types of data that applications can request.
|
||||
| Repositories | Repository information includes the names of contributors, the branches you've created, and the actual files within your repository. Applications can request access for either {% if currentVersion != "github-ae@latest" %}public{% else %}internal{% endif %} or private repositories on a user-wide level. |
|
||||
| Repository delete | Applications can request to delete repositories that you administer, but they won't have access to your code. |
|
||||
|
||||
### Requesting updated permissions
|
||||
## Requesting updated permissions
|
||||
|
||||
Applications can request new access privileges. When asking for updated permissions, the application will notify you of the differences.
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ Personal access tokens (PATs) are an alternative to using passwords for authenti
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}{% data reusables.user_settings.removes-personal-access-tokens %}{% endif %}
|
||||
|
||||
### Creating a token
|
||||
## Creating a token
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}1. [Verify your email address](/github/getting-started-with-github/verifying-your-email-address), if it hasn't been verified yet.{% endif %}
|
||||
{% data reusables.user_settings.access_settings %}
|
||||
@@ -55,7 +55,7 @@ Personal access tokens (PATs) are an alternative to using passwords for authenti
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}9. To use your token to authenticate to an organization that uses SAML SSO, [authorize the token for use with a SAML single-sign-on organization](/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on).{% endif %}
|
||||
|
||||
### Using a token on the command line
|
||||
## Using a token on the command line
|
||||
|
||||
{% data reusables.command_line.providing-token-as-password %}
|
||||
|
||||
@@ -65,6 +65,6 @@ If you are not prompted for your username and password, your credentials may be
|
||||
|
||||
Instead of manually entering your PAT for every HTTPS Git operation, you can cache your PAT with a Git client. Git will temporarily store your credentials in memory until an expiry interval has passed. You can also store the token in a plain text file that Git can read before every request. For more information, see "[Caching your {% data variables.product.prodname_dotcom %} credentials in Git](/github/getting-started-with-github/caching-your-github-credentials-in-git)."
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About authentication to GitHub](/github/authenticating-to-github/about-authentication-to-github)"
|
||||
|
||||
@@ -28,7 +28,7 @@ You can only use your password to log on to {% data variables.product.product_na
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}{% data reusables.user_settings.password-authentication-deprecation %}{% endif %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Caching your {% data variables.product.product_name %} credentials in Git](/github/getting-started-with-github/caching-your-github-credentials-in-git/)"
|
||||
- "[Keeping your account and data secure](/articles/keeping-your-account-and-data-secure/)"
|
||||
|
||||
@@ -27,9 +27,9 @@ This article tells you how to make commits with sensitive data unreachable from
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
### Purging a file from your repository's history
|
||||
## Purging a file from your repository's history
|
||||
|
||||
#### Using the BFG
|
||||
### Using the BFG
|
||||
|
||||
The [BFG Repo-Cleaner](https://rtyley.github.io/bfg-repo-cleaner/) is a tool that's built and maintained by the open source community. It provides a faster, simpler alternative to `git filter-branch` for removing unwanted data. For example, to remove your file with sensitive data and leave your latest commit untouched, run:
|
||||
|
||||
@@ -51,7 +51,7 @@ $ git push --force
|
||||
|
||||
See the [BFG Repo-Cleaner](https://rtyley.github.io/bfg-repo-cleaner/)'s documentation for full usage and download instructions.
|
||||
|
||||
#### Using filter-branch
|
||||
### Using filter-branch
|
||||
|
||||
{% warning %}
|
||||
|
||||
@@ -144,7 +144,7 @@ To illustrate how `git filter-branch` works, we'll show you how to remove your f
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Avoiding accidental commits in the future
|
||||
## Avoiding accidental commits in the future
|
||||
|
||||
There are a few simple tricks to avoid committing things you don't want committed:
|
||||
|
||||
@@ -153,7 +153,7 @@ There are a few simple tricks to avoid committing things you don't want committe
|
||||
- Use `git add --interactive` to individually review and stage changes within each file.
|
||||
- Use `git diff --cached` to review the changes that you have staged for commit. This is the exact diff that `git commit` will produce as long as you don't use the `-a` flag.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- [`git filter-branch` man page](https://git-scm.com/docs/git-filter-branch)
|
||||
- [Pro Git: Git Tools - Rewriting History](https://git-scm.com/book/en/Git-Tools-Rewriting-History)
|
||||
|
||||
@@ -17,7 +17,7 @@ topics:
|
||||
{% data reusables.user_settings.access_authorized_oauth_apps %}
|
||||
{% data reusables.user_settings.review-oauth-apps %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
- "[About integrations](/articles/about-integrations)"{% endif %}
|
||||
- "[Reviewing your authorized integrations](/articles/reviewing-your-authorized-integrations)"
|
||||
|
||||
@@ -12,14 +12,14 @@ topics:
|
||||
- Identity
|
||||
- Access management
|
||||
---
|
||||
### Reviewing your authorized {% data variables.product.prodname_oauth_app %}s
|
||||
## Reviewing your authorized {% data variables.product.prodname_oauth_app %}s
|
||||
|
||||
{% data reusables.user_settings.access_settings %}
|
||||
{% data reusables.user_settings.access_applications %}
|
||||
{% data reusables.user_settings.access_authorized_oauth_apps %}
|
||||
{% data reusables.user_settings.review-oauth-apps %}
|
||||
|
||||
### Reviewing your authorized {% data variables.product.prodname_github_app %}s
|
||||
## Reviewing your authorized {% data variables.product.prodname_github_app %}s
|
||||
|
||||
{% data reusables.user_settings.access_settings %}
|
||||
{% data reusables.user_settings.access_applications %}
|
||||
@@ -28,7 +28,7 @@ topics:
|
||||
3. Review the {% data variables.product.prodname_github_app %}s that have access to your account. For those that you don't recognize or that are out of date, click **Revoke**. To revoke all {% data variables.product.prodname_github_app %}s, click **Revoke all**.
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
- "[About integrations](/articles/about-integrations)"{% endif %}
|
||||
- "[Reviewing your authorized applications (OAuth)](/articles/reviewing-your-authorized-applications-oauth)"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Reviewing your security log
|
||||
intro: You can review the security log for your user account to better understand actions you've performed and actions others have performed that involve you.
|
||||
miniTocMaxHeadingLevel: 4
|
||||
miniTocMaxHeadingLevel: 3
|
||||
redirect_from:
|
||||
- /articles/reviewing-your-security-log
|
||||
- /github/authenticating-to-github/reviewing-your-security-log
|
||||
@@ -13,7 +13,7 @@ topics:
|
||||
- Identity
|
||||
- Access management
|
||||
---
|
||||
### Accessing your security log
|
||||
## Accessing your security log
|
||||
|
||||
The security log lists all actions performed within the last 90 days{% if currentVersion ver_lt "enterprise-server@2.20" %}, up to 50{% endif %}.
|
||||
|
||||
@@ -30,13 +30,13 @@ The security log lists all actions performed within the last 90 days{% if curren
|
||||
{% endif %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.19" %}
|
||||
### Searching your security log
|
||||
## Searching your security log
|
||||
|
||||
{% data reusables.audit_log.audit-log-search %}
|
||||
|
||||
#### Search based on the action performed
|
||||
### Search based on the action performed
|
||||
{% else %}
|
||||
### Understanding events in your security log
|
||||
## Understanding events in your security log
|
||||
{% endif %}
|
||||
|
||||
The events listed in your security log are triggered by your actions. Actions are grouped into the following categories:
|
||||
@@ -61,20 +61,20 @@ The events listed in your security log are triggered by your actions. Actions ar
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
### Exporting your security log
|
||||
## Exporting your security log
|
||||
|
||||
{% data reusables.audit_log.export-log %}
|
||||
{% data reusables.audit_log.exported-log-keys-and-values %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Security log actions
|
||||
## Security log actions
|
||||
|
||||
An overview of some of the most common actions that are recorded as events in the security log.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
#### `account_recovery_token` category actions
|
||||
### `account_recovery_token` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -82,14 +82,14 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
| `recover` | Triggered when you successfully [redeem an account recovery token](/articles/recovering-your-account-if-you-lose-your-2fa-credentials).
|
||||
| `recover_error` | Triggered when a token is used but {% data variables.product.prodname_dotcom %} is not able to validate it.
|
||||
|
||||
#### `billing` category actions
|
||||
### `billing` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
| `change_billing_type` | Triggered when you [change how you pay](/articles/adding-or-editing-a-payment-method) for {% data variables.product.prodname_dotcom %}.
|
||||
| `change_email` | Triggered when you [change your email address](/articles/changing-your-primary-email-address).
|
||||
|
||||
#### `codespaces` category actions
|
||||
### `codespaces` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -99,13 +99,13 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
| `manage_access_and_security` | Triggered when you update [the repositories a codespace has access to](/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces).
|
||||
| `trusted_repositories_access_update` | Triggered when you change your user account's [access and security setting for {% data variables.product.prodname_codespaces %}](/github/developing-online-with-codespaces/managing-access-and-security-for-codespaces).
|
||||
|
||||
#### `marketplace_agreement_signature` category actions
|
||||
### `marketplace_agreement_signature` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
| `create` | Triggered when you sign the {% data variables.product.prodname_marketplace %} Developer Agreement.
|
||||
|
||||
#### `marketplace_listing` category actions
|
||||
### `marketplace_listing` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -117,7 +117,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
|
||||
{% endif %}
|
||||
|
||||
#### `oauth_access` category actions
|
||||
### `oauth_access` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -126,7 +126,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
#### `payment_method` category actions
|
||||
### `payment_method` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -136,13 +136,13 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
|
||||
{% endif %}
|
||||
|
||||
#### `profile_picture` category actions
|
||||
### `profile_picture` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
| `update` | Triggered when you [set or update your profile picture](/articles/setting-your-profile-picture/).
|
||||
|
||||
#### `project` category actions
|
||||
### `project` category actions
|
||||
|
||||
| Action | Description
|
||||
|--------------------|---------------------
|
||||
@@ -155,14 +155,14 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
| `unlink` | Triggered when a repository is unlinked from a project board.
|
||||
| `update_user_permission` | Triggered when an outside collaborator is added to or removed from a project board or has their permission level changed.
|
||||
|
||||
#### `public_key` category actions
|
||||
### `public_key` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
| `create` | Triggered when you [add a new public SSH key to your {% data variables.product.product_name %} account](/articles/adding-a-new-ssh-key-to-your-github-account).
|
||||
| `delete` | Triggered when you [remove a public SSH key to your {% data variables.product.product_name %} account](/articles/reviewing-your-ssh-keys).
|
||||
|
||||
#### `repo` category actions
|
||||
### `repo` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -186,7 +186,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
| `unarchived` | Triggered when a repository owner unarchives a repository.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
#### `sponsors` category actions
|
||||
### `sponsors` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -210,7 +210,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
{% endif %}
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
#### `successor_invitation` category actions
|
||||
### `successor_invitation` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -223,7 +223,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
|
||||
{% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}
|
||||
|
||||
#### `team` category actions
|
||||
### `team` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -237,7 +237,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
{% endif %}
|
||||
|
||||
{% if currentVersion != "github-ae@latest" %}
|
||||
#### `two_factor_authentication` category actions
|
||||
### `two_factor_authentication` category actions
|
||||
|
||||
| Action | Description
|
||||
|------------------|-------------------
|
||||
@@ -245,7 +245,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
| `disabled` | Triggered when two-factor authentication is disabled.
|
||||
{% endif %}
|
||||
|
||||
#### `user` category actions
|
||||
### `user` category actions
|
||||
|
||||
| Action | Description
|
||||
|--------------------|---------------------
|
||||
@@ -265,7 +265,7 @@ An overview of some of the most common actions that are recorded as events in th
|
||||
| `show_private_contributions_count` | Triggered when you [publicize private contributions on your profile](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile).{% if currentVersion != "github-ae@latest" %}
|
||||
| `two_factor_requested` | Triggered when {% data variables.product.product_name %} asks you for [your two-factor authentication code](/articles/accessing-github-using-two-factor-authentication).{% endif %}
|
||||
|
||||
#### `user_status` category actions
|
||||
### `user_status` category actions
|
||||
|
||||
| Action | Description
|
||||
|--------------------|---------------------
|
||||
|
||||
@@ -15,6 +15,6 @@ After you've performed a sudo-protected action, you'll only be asked to re-authe
|
||||
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- [Unix `sudo` command](http://en.wikipedia.org/wiki/Sudo)
|
||||
|
||||
@@ -15,7 +15,7 @@ topics:
|
||||
- Access management
|
||||
---
|
||||
{% if currentVersion != "github-ae@latest" %}
|
||||
### Requesting a new password
|
||||
## Requesting a new password
|
||||
|
||||
1. To request a new password, visit {% if currentVersion == "free-pro-team@latest" %}https://{% data variables.product.product_url %}/password_reset{% else %}`https://{% data variables.product.product_url %}/password_reset`{% endif %}.
|
||||
2. Enter the email address associated with your personal {% data variables.product.product_name %} account, then click **Send password reset email.** The email will be sent to the backup email address if you have one configured.
|
||||
@@ -33,7 +33,7 @@ To avoid losing your password in the future, we suggest using a secure password
|
||||
|
||||
{% endtip %}
|
||||
|
||||
### Changing an existing password
|
||||
## Changing an existing password
|
||||
|
||||
{% data reusables.repositories.blocked-passwords %}
|
||||
|
||||
@@ -49,20 +49,20 @@ For greater security, enable two-factor authentication in addition to changing y
|
||||
|
||||
{% endtip %}
|
||||
{% endif %}
|
||||
### Updating your access tokens
|
||||
## Updating your access tokens
|
||||
|
||||
See "[Reviewing your authorized integrations](/articles/reviewing-your-authorized-integrations)" for instructions on reviewing and deleting access tokens. To generate new access tokens, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)."
|
||||
|
||||
### Updating your SSH keys
|
||||
## Updating your SSH keys
|
||||
|
||||
See "[Reviewing your SSH keys](/articles/reviewing-your-ssh-keys)" for instructions on reviewing and deleting SSH keys. To generate and add new SSH keys, see "[Generating an SSH key](/articles/generating-an-ssh-key)."
|
||||
|
||||
### Resetting API tokens
|
||||
## Resetting API tokens
|
||||
|
||||
If you have any applications registered with {% data variables.product.product_name %}, you'll want to reset their OAuth tokens. For more information, see the "[Reset an authorization](/rest/reference/apps#reset-an-authorization)" endpoint.
|
||||
|
||||
{% if currentVersion != "github-ae@latest" %}
|
||||
### Preventing unauthorized access
|
||||
## Preventing unauthorized access
|
||||
|
||||
For more tips on securing your account and preventing unauthorized access, see "[Preventing unauthorized access](/articles/preventing-unauthorized-access)."
|
||||
{% endif %}
|
||||
|
||||
@@ -14,7 +14,7 @@ topics:
|
||||
- Identity
|
||||
- Access management
|
||||
---
|
||||
### About commit signature verification
|
||||
## About commit signature verification
|
||||
|
||||
You can sign commits and tags locally, to give other people confidence about the origin of a change you have made. If a commit or tag has a GPG or S/MIME signature that is cryptographically verifiable, GitHub marks the commit or tag {% if currentVersion == "free-pro-team@latest" %}"Verified" or "Partially verified."{% else %}"Verified."{% endif %}
|
||||
|
||||
@@ -25,7 +25,7 @@ Commits and tags have the following verification statuses, depending on whether
|
||||
|
||||
{% data reusables.identity-and-permissions.vigilant-mode-beta-note %}
|
||||
|
||||
#### Default statuses
|
||||
### Default statuses
|
||||
|
||||
| Status | Description |
|
||||
| -------------- | ----------- |
|
||||
@@ -33,7 +33,7 @@ Commits and tags have the following verification statuses, depending on whether
|
||||
| **Unverified** | The commit is signed but the signature could not be verified.
|
||||
| No verification status | The commit is not signed.
|
||||
|
||||
#### Statuses with vigilant mode enabled
|
||||
### Statuses with vigilant mode enabled
|
||||
|
||||
{% data reusables.identity-and-permissions.vigilant-mode-verification-statuses %}
|
||||
|
||||
@@ -49,7 +49,7 @@ Repository administrators can enforce required commit signing on a branch to blo
|
||||
{% data variables.product.product_name %} will automatically use GPG to sign commits you make using the {% data variables.product.product_name %} web interface, except for when you squash and merge a pull request that you are not the author of. Commits signed by {% data variables.product.product_name %} will have a verified status on {% data variables.product.product_name %}. You can verify the signature locally using the public key available at https://github.com/web-flow.gpg. The full fingerprint of the key is `5DE3 E050 9C47 EA3C F04A 42D3 4AEE 18F8 3AFD EB23`. You can optionally choose to have {% data variables.product.product_name %} sign commits you make in {% data variables.product.prodname_codespaces %}. For more information about enabling GPG verification for your codespaces, see "[Managing GPG verification for {% data variables.product.prodname_codespaces %}](/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces)."
|
||||
{% endif %}
|
||||
|
||||
### GPG commit signature verification
|
||||
## GPG commit signature verification
|
||||
|
||||
You can use GPG to sign commits with a GPG key that you generate yourself.
|
||||
|
||||
@@ -64,7 +64,7 @@ To sign commits using GPG and have those commits verified on {% data variables.p
|
||||
5. [Sign commits](/articles/signing-commits)
|
||||
6. [Sign tags](/articles/signing-tags)
|
||||
|
||||
### S/MIME commit signature verification
|
||||
## S/MIME commit signature verification
|
||||
|
||||
You can use S/MIME to sign commits with an X.509 key issued by your organization.
|
||||
|
||||
@@ -81,14 +81,14 @@ To sign commits using S/MIME and have those commits verified on {% data variable
|
||||
You don't need to upload your public key to {% data variables.product.product_name %}.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
### Signature verification for bots
|
||||
## Signature verification for bots
|
||||
|
||||
Organizations and {% data variables.product.prodname_github_app %}s that require commit signing can use bots to sign commits. If a commit or tag has a bot signature that is cryptographically verifiable, {% data variables.product.product_name %} marks the commit or tag as verified.
|
||||
|
||||
Signature verification for bots will only work if the request is verified and authenticated as the {% data variables.product.prodname_github_app %} or bot and contains no custom author information, custom committer information, and no custom signature information, such as Commits API.
|
||||
{% endif %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Signing commits](/articles/signing-commits)"
|
||||
- "[Signing tags](/articles/signing-tags)"
|
||||
|
||||
@@ -20,7 +20,7 @@ Before adding a new GPG key to your {% data variables.product.product_name %} ac
|
||||
|
||||
When verifying a signature, we extract the signature and attempt to parse its key-id. We match the key-id with keys uploaded to {% data variables.product.product_name %}. Until you upload your GPG key to {% data variables.product.product_name %}, we cannot verify your signatures.
|
||||
|
||||
### Adding a GPG key
|
||||
## Adding a GPG key
|
||||
|
||||
{% data reusables.user_settings.access_settings %}
|
||||
{% data reusables.user_settings.ssh %}
|
||||
@@ -32,7 +32,7 @@ When verifying a signature, we extract the signature and attempt to parse its ke
|
||||

|
||||
6. To confirm the action, enter your {% data variables.product.product_name %} password.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
* "[Checking for existing GPG keys](/articles/checking-for-existing-gpg-keys)"
|
||||
* "[Generating a new GPG key](/articles/generating-a-new-gpg-key)"
|
||||
|
||||
@@ -49,7 +49,7 @@ If you're using a GPG key that matches your committer identity and your verified
|
||||
```
|
||||
11. Upload the GPG key by [adding it to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account).
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Checking for existing GPG keys](/articles/checking-for-existing-gpg-keys)"
|
||||
- "[Generating a new GPG key](/articles/generating-a-new-gpg-key)"
|
||||
|
||||
@@ -26,7 +26,7 @@ topics:
|
||||
* If there are no GPG key pairs or you don't want to use any that are available for signing commits and tags, then [generate a new GPG key](/articles/generating-a-new-gpg-key).
|
||||
* If there's an existing GPG key pair and you want to use it to sign commits and tags, then [add your GPG key to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account).
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
* "[Generating a new GPG key](/articles/generating-a-new-gpg-key)"
|
||||
* "[Adding a new GPG key to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account)"
|
||||
|
||||
@@ -12,7 +12,7 @@ redirect_from:
|
||||
---
|
||||
{% data reusables.identity-and-permissions.vigilant-mode-beta-note %}
|
||||
|
||||
### About vigilant mode
|
||||
## About vigilant mode
|
||||
|
||||
When you work locally on your computer, Git allows you to set the author of your changes and the identity of the committer. This, potentially, makes it difficult for other people to be confident that commits and tags you create were actually created by you. To help solve this problem you can sign your commits and tags. For more information, see "[Signing commits](/github/authenticating-to-github/signing-commits)" and "[Signing tags](/github/authenticating-to-github/signing-tags)." {% data variables.product.prodname_dotcom %} marks signed commits and tags with a verification status.
|
||||
|
||||
@@ -28,7 +28,7 @@ You should only enable vigilant mode if you sign all of your commits and tags. A
|
||||
|
||||
{% data reusables.identity-and-permissions.verification-status-check %}
|
||||
|
||||
### Enabling vigilant mode
|
||||
## Enabling vigilant mode
|
||||
|
||||
{% data reusables.user_settings.access_settings %}
|
||||
{% data reusables.user_settings.ssh %}
|
||||
|
||||
@@ -14,7 +14,7 @@ topics:
|
||||
---
|
||||
{% data reusables.gpg.supported-gpg-key-algorithms %}
|
||||
|
||||
### Generating a GPG key
|
||||
## Generating a GPG key
|
||||
|
||||
{% note %}
|
||||
|
||||
@@ -56,7 +56,7 @@ topics:
|
||||
11. Copy your GPG key, beginning with `-----BEGIN PGP PUBLIC KEY BLOCK-----` and ending with `-----END PGP PUBLIC KEY BLOCK-----`.
|
||||
12. [Add the GPG key to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account).
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
* "[Checking for existing GPG keys](/articles/checking-for-existing-gpg-keys)"
|
||||
* "[Adding a new GPG key to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account)"
|
||||
|
||||
@@ -48,7 +48,7 @@ If you have multiple keys or are attempting to sign commits or tags with a key t
|
||||
5. To view more detailed information about the verified signature, click Verified.
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
* "[Checking for existing GPG keys](/articles/checking-for-existing-gpg-keys)"
|
||||
* "[Generating a new GPG key](/articles/generating-a-new-gpg-key)"
|
||||
|
||||
@@ -26,7 +26,7 @@ topics:
|
||||
# Verifies the signed tag
|
||||
```
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Viewing your repository's tags](/articles/viewing-your-repositorys-tags)"
|
||||
- "[Checking for existing GPG keys](/articles/checking-for-existing-gpg-keys)"
|
||||
|
||||
@@ -15,7 +15,7 @@ topics:
|
||||
---
|
||||
{% mac %}
|
||||
|
||||
### Telling Git about your GPG key
|
||||
## Telling Git about your GPG key
|
||||
|
||||
If you're using a GPG key that matches your committer identity and your verified email address associated with your {% data variables.product.product_name %} account, then you can begin signing commits and signing tags.
|
||||
|
||||
@@ -48,7 +48,7 @@ If you have multiple GPG keys, you need to tell Git which one to use.
|
||||
|
||||
{% windows %}
|
||||
|
||||
### Telling Git about your GPG key
|
||||
## Telling Git about your GPG key
|
||||
|
||||
If you're using a GPG key that matches your committer identity and your verified email address associated with your {% data variables.product.product_name %} account, then you can begin signing commits and signing tags.
|
||||
|
||||
@@ -77,7 +77,7 @@ If you have multiple GPG keys, you need to tell Git which one to use.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Telling Git about your GPG key
|
||||
## Telling Git about your GPG key
|
||||
|
||||
If you're using a GPG key that matches your committer identity and your verified email address associated with your {% data variables.product.product_name %} account, then you can begin signing commits and signing tags.
|
||||
|
||||
@@ -106,7 +106,7 @@ If you have multiple GPG keys, you need to tell Git which one to use.
|
||||
|
||||
{% endlinux %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Checking for existing GPG keys](/articles/checking-for-existing-gpg-keys)"
|
||||
- "[Generating a new GPG key](/articles/generating-a-new-gpg-key)"
|
||||
|
||||
@@ -20,7 +20,7 @@ We **strongly** urge you to enable 2FA for the safety of your account, not only
|
||||
|
||||
For more information, see "[Accessing {% data variables.product.prodname_dotcom %} using two-factor authentication](/articles/accessing-github-using-two-factor-authentication)."
|
||||
|
||||
### Two-factor authentication recovery codes
|
||||
## Two-factor authentication recovery codes
|
||||
|
||||
{% data reusables.two_fa.about-recovery-codes %} For more information, see "[Recovering your account if you lose your 2FA credentials](/articles/recovering-your-account-if-you-lose-your-2fa-credentials)."
|
||||
|
||||
@@ -34,7 +34,7 @@ For more information, see "[Accessing {% data variables.product.prodname_dotcom
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Requiring two-factor authentication in your organization
|
||||
## Requiring two-factor authentication in your organization
|
||||
|
||||
Organization owners can require that organization members{% if currentVersion == "free-pro-team@latest" %}, billing managers,{% endif %} and outside collaborators use two-factor authentication to secure their personal accounts. For more information, see "[Requiring two-factor authentication in your organization](/articles/requiring-two-factor-authentication-in-your-organization)."
|
||||
|
||||
|
||||
@@ -15,13 +15,13 @@ topics:
|
||||
---
|
||||
With two-factor authentication enabled, you'll need to provide an authentication code when accessing {% data variables.product.product_name %} through your browser. If you access {% data variables.product.product_name %} using other methods, such as the API or the command line, you'll need to use an alternative form of authentication. For more information, see "[About authentication to {% data variables.product.prodname_dotcom %}](/github/authenticating-to-github/about-authentication-to-github)."
|
||||
|
||||
### Providing a 2FA code when signing in to the website
|
||||
## Providing a 2FA code when signing in to the website
|
||||
|
||||
After you sign in to {% data variables.product.product_name %} using your password, you'll be prompted to provide an authentication code from {% if currentVersion == "free-pro-team@latest" %}a text message or{% endif %} your TOTP app.
|
||||
|
||||
{% data variables.product.product_name %} will only ask you to provide your 2FA authentication code again if you've logged out, are using a new device, or your session expires.
|
||||
|
||||
#### Generating a code through a TOTP application
|
||||
### Generating a code through a TOTP application
|
||||
|
||||
If you chose to set up two-factor authentication using a TOTP application on your smartphone, you can generate an authentication code for {% data variables.product.product_name %} at any time. In most cases, just launching the application will generate a new code. You should refer to your application's documentation for specific instructions.
|
||||
|
||||
@@ -29,17 +29,17 @@ If you delete the mobile application after configuring two-factor authentication
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
#### Receiving a text message
|
||||
### Receiving a text message
|
||||
|
||||
If you set up two-factor authentication via text messages, {% data variables.product.product_name %} will send you a text message with your authentication code.
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Using two-factor authentication with the command line
|
||||
## Using two-factor authentication with the command line
|
||||
|
||||
After you've enabled 2FA, you must use a personal access token or SSH key instead of your password when accessing {% data variables.product.product_name %} on the command line.
|
||||
|
||||
#### Authenticating on the command line using HTTPS
|
||||
### Authenticating on the command line using HTTPS
|
||||
|
||||
After you've enabled 2FA, you must create a personal access token to use as a password when authenticating to {% data variables.product.product_name %} on the command line using HTTPS URLs.
|
||||
|
||||
@@ -47,21 +47,21 @@ When prompted for a username and password on the command line, use your {% data
|
||||
|
||||
For more information, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)."
|
||||
|
||||
#### Authenticating on the command line using SSH
|
||||
### Authenticating on the command line using SSH
|
||||
|
||||
Enabling 2FA doesn't change how you authenticate to {% data variables.product.product_name %} on the command line using SSH URLs. For more information about setting up and using an SSH key, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/articles/connecting-to-github-with-ssh/)."
|
||||
|
||||
### Using two-factor authentication to access a repository using Subversion
|
||||
## Using two-factor authentication to access a repository using Subversion
|
||||
|
||||
When you access a repository via Subversion, you must provide a personal access token instead of entering your password. For more information, see "[Creating a personal access token](/github/authenticating-to-github/creating-a-personal-access-token)."
|
||||
|
||||
### Troubleshooting
|
||||
## Troubleshooting
|
||||
|
||||
If you lose access to your two-factor authentication credentials, you can use your recovery codes or another recovery method (if you've set one up) to regain access to your account. For more information, see "[Recovering your account if you lose your 2FA credentials](/articles/recovering-your-account-if-you-lose-your-2fa-credentials)."
|
||||
|
||||
If your authentication fails several times, you may wish to synchronize your phone's clock with your mobile provider. Often, this involves checking the "Set automatically" option on your phone's clock, rather than providing your own time zone.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
- "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication)"
|
||||
|
||||
@@ -26,7 +26,7 @@ topics:
|
||||
- To set up two-factor authentication using a TOTP mobile app, click **Set up using an app**.
|
||||
- To set up two-factor authentication using text message (SMS), click **Set up using SMS**.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
- "[Configuring two-factor authentication recovery methods](/articles/configuring-two-factor-authentication-recovery-methods)"
|
||||
|
||||
@@ -17,7 +17,7 @@ topics:
|
||||
---
|
||||
In addition to securely storing your two-factor authentication recovery codes, we strongly recommend configuring one or more additional recovery methods.
|
||||
|
||||
### Downloading your two-factor authentication recovery codes
|
||||
## Downloading your two-factor authentication recovery codes
|
||||
|
||||
{% data reusables.two_fa.about-recovery-codes %} You can also download your recovery codes at any point after enabling two-factor authentication.
|
||||
|
||||
@@ -37,7 +37,7 @@ If you generate new recovery codes or disable and re-enable 2FA, the recovery co
|
||||
- To copy your recovery codes for storage in a password manager, click **Copy**.
|
||||

|
||||
|
||||
### Generating a new set of recovery codes
|
||||
## Generating a new set of recovery codes
|
||||
|
||||
Once you use a recovery code to regain access to your account, it cannot be reused. If you've used all 16 recovery codes, you can generate another list of codes. Generating a new set of recovery codes will invalidate any codes you previously generated.
|
||||
|
||||
@@ -47,13 +47,13 @@ Once you use a recovery code to regain access to your account, it cannot be reus
|
||||
3. To create another batch of recovery codes, click **Generate new recovery codes**.
|
||||

|
||||
|
||||
### Configuring a security key as an additional two-factor authentication method
|
||||
## Configuring a security key as an additional two-factor authentication method
|
||||
|
||||
You can set up a security key as a secondary two-factor authentication method, and use the security key to regain access to your account. For more information, see "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key)."
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
### Setting a fallback authentication number
|
||||
## Setting a fallback authentication number
|
||||
|
||||
You can provide a second number for a fallback device. If you lose access to both your primary device and your recovery codes, a backup SMS number can get you back in to your account.
|
||||
|
||||
@@ -78,11 +78,11 @@ You can use a fallback number regardless of whether you've configured authentica
|
||||
|
||||
After setup, the backup device will receive a confirmation SMS.
|
||||
|
||||
### Adding a fallback authentication method with Recover Accounts Elsewhere
|
||||
## Adding a fallback authentication method with Recover Accounts Elsewhere
|
||||
|
||||
You can generate an extra authentication credential for your account and store it with a partner recovery provider.
|
||||
|
||||
#### About Recover Accounts Elsewhere
|
||||
### About Recover Accounts Elsewhere
|
||||
|
||||
With Recover Accounts Elsewhere, you can add an extra security factor to your {% data variables.product.product_name %} account in case you lose access to your two-factor authentication method or recovery codes.
|
||||
|
||||
@@ -94,7 +94,7 @@ After you retrieve your token, {% data variables.contact.contact_support %} may
|
||||
|
||||
When you generate or retrieve an account recovery token, an event is added to your account's audit log. For more information, see "[Reviewing your security log](/articles/reviewing-your-security-log)."
|
||||
|
||||
#### Generating and storing an account recovery token
|
||||
### Generating and storing an account recovery token
|
||||
|
||||
You can generate an account recovery token and store it with a partner recovery provider.
|
||||
|
||||
@@ -108,7 +108,7 @@ You can generate an account recovery token and store it with a partner recovery
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
- "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication)"
|
||||
|
||||
@@ -25,7 +25,7 @@ We strongly recommend using a time-based one-time password (TOTP) application to
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
### Configuring two-factor authentication using a TOTP mobile app
|
||||
## Configuring two-factor authentication using a TOTP mobile app
|
||||
|
||||
A time-based one-time password (TOTP) application automatically generates an authentication code that changes after a certain period of time. We recommend using cloud-based TOTP apps such as:
|
||||
- [1Password](https://support.1password.com/one-time-passwords/)
|
||||
@@ -56,7 +56,7 @@ A time-based one-time password (TOTP) application automatically generates an aut
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
### Configuring two-factor authentication using text messages
|
||||
## Configuring two-factor authentication using text messages
|
||||
|
||||
If you're unable to authenticate using a TOTP mobile app, you can authenticate using SMS messages. You can also provide a second number for a fallback device. If you lose access to both your primary device and your recovery codes, a backup SMS number can get you back in to your account.
|
||||
|
||||
@@ -81,7 +81,7 @@ Before using this method, be sure that you can receive text messages. Carrier ra
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Configuring two-factor authentication using a security key
|
||||
## Configuring two-factor authentication using a security key
|
||||
|
||||
{% data reusables.two_fa.after-2fa-add-security-key %}
|
||||
|
||||
@@ -105,7 +105,7 @@ Authentication with a security key is *secondary* to authentication with a TOTP
|
||||

|
||||
{% data reusables.two_fa.test_2fa_immediately %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
- "[Configuring two-factor authentication recovery methods](/articles/configuring-two-factor-authentication-recovery-methods)"
|
||||
|
||||
@@ -11,7 +11,7 @@ topics:
|
||||
---
|
||||
If we don't support two-factor authentication via text message for your country of residence, you can set up authentication via a TOTP mobile application. For more information, see "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication)."
|
||||
|
||||
### Supported countries for SMS authentication
|
||||
## Supported countries for SMS authentication
|
||||
|
||||
If your country is not on this list, then we aren't currently able to reliably deliver text messages to your country. We update this list periodically.
|
||||
|
||||
@@ -131,6 +131,6 @@ If your country is not on this list, then we aren't currently able to reliably d
|
||||
<li>Venezuela</li>
|
||||
</ul>
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
|
||||
@@ -29,7 +29,7 @@ To remove yourself from your organization:
|
||||
3. Click **Disable**.
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
- "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication)"
|
||||
|
||||
@@ -22,7 +22,7 @@ topics:
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Using a two-factor authentication recovery code
|
||||
## Using a two-factor authentication recovery code
|
||||
|
||||
Use one of your recovery codes to automatically regain entry into your account. You may have saved your recovery codes to a password manager or your computer's downloads folder. The default filename for recovery codes is `github-recovery-codes.txt`. For more information about recovery codes, see "[Configuring two-factor authentication recovery methods](/articles/configuring-two-factor-authentication-recovery-methods#downloading-your-two-factor-authentication-recovery-codes)."
|
||||
|
||||
@@ -35,17 +35,17 @@ Use one of your recovery codes to automatically regain entry into your account.
|
||||

|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
### Authenticating with a fallback number
|
||||
## Authenticating with a fallback number
|
||||
|
||||
If you lose access to your primary TOTP app or phone number, you can provide a two-factor authentication code sent to your fallback number to automatically regain access to your account.
|
||||
{% endif %}
|
||||
|
||||
### Authenticating with a security key
|
||||
## Authenticating with a security key
|
||||
|
||||
If you configured two-factor authentication using a security key, you can use your security key as a secondary authentication method to automatically regain access to your account. For more information, see "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key)."
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
### Authenticating with a verified device, SSH token, or personal access token
|
||||
## Authenticating with a verified device, SSH token, or personal access token
|
||||
|
||||
If you know your {% data variables.product.product_name %} password but don't have the two-factor authentication credentials or your two-factor authentication recovery codes, you can have a one-time password sent to your verified email address to begin the verification process and regain access to your account.
|
||||
|
||||
@@ -74,7 +74,7 @@ You can use your two-factor authentication credentials or two-factor authenticat
|
||||

|
||||
8. A member of {% data variables.contact.github_support %} will review your request and email you within 3-5 business days. If your request is approved, you'll receive a link to complete your account recovery process. If your request is denied, the email will include a way to contact support with any additional questions.
|
||||
|
||||
### Authenticating with an account recovery token
|
||||
## Authenticating with an account recovery token
|
||||
|
||||
If you lose access to the two-factor authentication methods for your {% data variables.product.product_name %} account, you can retrieve your account recovery token from a partner recovery provider and ask {% data variables.product.prodname_dotcom %} Support to review it.
|
||||
|
||||
@@ -98,7 +98,7 @@ If you're unable to regain access to your account, generate a one-time password
|
||||
4. Contact {% data variables.contact.contact_support %} to let them know that your account recovery token is ready for review.
|
||||
{% endif %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About two-factor authentication](/articles/about-two-factor-authentication)"
|
||||
- "[Configuring two-factor authentication](/articles/configuring-two-factor-authentication)"
|
||||
|
||||
@@ -13,7 +13,7 @@ topics:
|
||||
- Identity
|
||||
- Access management
|
||||
---
|
||||
### Checking your commit signature verification status
|
||||
## Checking your commit signature verification status
|
||||
|
||||
1. On {% data variables.product.product_name %}, navigate to your pull request.
|
||||
{% data reusables.repositories.review-pr-commits %}
|
||||
@@ -22,7 +22,7 @@ topics:
|
||||
4. To view more detailed information about the commit signature, click **Verified**{% if currentVersion == "free-pro-team@latest" %}, **Partially verified**,{% endif %} or **Unverified**.
|
||||

|
||||
|
||||
### Checking your tag signature verification status
|
||||
## Checking your tag signature verification status
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.releases %}
|
||||
@@ -33,7 +33,7 @@ topics:
|
||||
4. To view more detailed information about the tag signature, click **Verified**{% if currentVersion == "free-pro-team@latest" %}, **Partially verified**,{% endif %} or **Unverified**.
|
||||

|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About commit signature verification](/articles/about-commit-signature-verification)"
|
||||
- "[Signing commits](/articles/signing-commits)"
|
||||
|
||||
@@ -16,6 +16,6 @@ If your key is expired, you must [update the expiration](https://www.gnupg.org/g
|
||||
|
||||
If your key is invalid and you don't use another valid key in your key set, but instead generate a new GPG key with a new set of credentials, then your commits made with the revoked or expired key will continue to show as unverified. Also, your new credentials will not be able to resign or verify your old commits and tags.
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About commit signature verification](/articles/about-commit-signature-verification)"
|
||||
|
||||
@@ -19,6 +19,6 @@ Commits and tags may contain several email addresses. For commits, there is the
|
||||
|
||||
If you need to change your committer or tagger email address, see "[Setting your commit email address](/articles/setting-your-commit-email-address/)."
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[About commit signature verification](/articles/about-commit-signature-verification)"
|
||||
|
||||
@@ -24,7 +24,7 @@ $ ssh -vT git@{% data variables.command_line.codeblock %}
|
||||
|
||||
For more details, see <a href="https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/201786" data-proofer-ignore>this issue report</a>.
|
||||
|
||||
### Resolution
|
||||
## Resolution
|
||||
|
||||
You should be able to fix this error by loading your keys into your SSH agent with `ssh-add`:
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ $ ssh -vT git@{% data variables.command_line.codeblock %}
|
||||
> ssh: connect to host {% data variables.command_line.codeblock %} port 22: Bad file number
|
||||
```
|
||||
|
||||
### Solving the issue
|
||||
## Solving the issue
|
||||
|
||||
#### Use HTTPS
|
||||
### Use HTTPS
|
||||
|
||||
Often, the simplest solution is to simply avoid SSH entirely. Most firewalls and proxies allow HTTPS traffic without issue. To take advantage of this, change [the remote URL](/github/getting-started-with-github/about-remote-repositories) you're using:
|
||||
|
||||
@@ -37,13 +37,13 @@ $ git clone https://{% data variables.command_line.codeblock %}/<em>username</em
|
||||
> Unpacking objects: 100% (84/84), done.
|
||||
```
|
||||
|
||||
#### Test from a different network
|
||||
### Test from a different network
|
||||
|
||||
If you can connect the computer to another network that doesn't have a firewall, you can try testing your SSH connection to {% data variables.product.product_name %}. If everything works as it should, contact your network administrator for help on changing the firewall settings to allow your SSH connection to {% data variables.product.product_name %} to succeed.
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
#### Using SSH over the HTTPS port
|
||||
### Using SSH over the HTTPS port
|
||||
|
||||
If using HTTPS is not an option, and your firewall admin refuses to allow SSH connections, you can try using [SSH over the HTTPS port](/articles/using-ssh-over-the-https-port) instead.
|
||||
|
||||
@@ -51,7 +51,7 @@ If using HTTPS is not an option, and your firewall admin refuses to allow SSH co
|
||||
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Troubleshooting connectivity problems](/articles/troubleshooting-connectivity-problems)"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ versions:
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
### Finding where the key has been used
|
||||
## Finding where the key has been used
|
||||
|
||||
To determine where the key has already been used, open a terminal and type the `ssh` command. Use the `-i` flag to provide the path to the key you want to check:
|
||||
|
||||
@@ -24,12 +24,12 @@ $ ssh -T -ai <em>~/.ssh/id_rsa</em> git@{% data variables.command_line.codeblock
|
||||
|
||||
The *username* in the response is the {% data variables.product.product_name %} account that the key is currently attached to. If the response looks something like "username/repo", the key has been attached to a repository as a [*deploy key*](/guides/managing-deploy-keys#deploy-keys).
|
||||
|
||||
### Fixing the issue
|
||||
## Fixing the issue
|
||||
|
||||
To resolve the issue, first remove the key from the other account or repository and then [add it to your account](/articles/adding-a-new-ssh-key-to-your-github-account).
|
||||
|
||||
If you don't have permissions to transfer the key, and can't contact a user who does, remove the keypair and [generate a brand new one](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent).
|
||||
|
||||
### Deploy keys
|
||||
## Deploy keys
|
||||
|
||||
Once a key has been attached to one repository as a deploy key, it cannot be used on another repository. If you're running into this error while setting up deploy keys, see "[Managing deploy keys](/guides/managing-deploy-keys)."
|
||||
|
||||
@@ -11,11 +11,11 @@ versions:
|
||||
topics:
|
||||
- SSH
|
||||
---
|
||||
### Should the `sudo` command be used with Git?
|
||||
## Should the `sudo` command be used with Git?
|
||||
|
||||
You should not be using the `sudo` command with Git. If you have a *very good reason* you must use `sudo`, then ensure you are using it with every command (it's probably just better to use `su` to get a shell as root at that point). If you [generate SSH keys](/articles/generating-an-ssh-key) without `sudo` and then try to use a command like `sudo git push`, you won't be using the same keys that you generated.
|
||||
|
||||
### Check that you are connecting to the correct server
|
||||
## Check that you are connecting to the correct server
|
||||
|
||||
Typing is hard, we all know it. Pay attention to what you type; you won't be able to connect to "githib.com" or "guthub.com". In some cases, a corporate network may cause issues resolving the DNS record as well.
|
||||
|
||||
@@ -32,7 +32,7 @@ $ ssh -vT git@{% data variables.command_line.codeblock %}
|
||||
|
||||
The connection should be made on port 22{% if currentVersion == "free-pro-team@latest" %}, unless you're overriding settings to use [SSH over HTTPS](/articles/using-ssh-over-the-https-port){% endif %}.
|
||||
|
||||
### Always use the "git" user
|
||||
## Always use the "git" user
|
||||
|
||||
All connections, including those for remote URLs, must be made as the "git" user. If you try to connect with your {% data variables.product.product_name %} username, it will fail:
|
||||
|
||||
@@ -49,7 +49,7 @@ $ ssh -T git@{% data variables.command_line.codeblock %}
|
||||
> Hi <em>username</em>! You've successfully authenticated...
|
||||
```
|
||||
|
||||
### Make sure you have a key that is being used
|
||||
## Make sure you have a key that is being used
|
||||
|
||||
{% mac %}
|
||||
|
||||
@@ -145,7 +145,7 @@ The `ssh-add` command *should* print out a long string of numbers and letters. I
|
||||
|
||||
{% endtip %}
|
||||
|
||||
#### Getting more details
|
||||
### Getting more details
|
||||
|
||||
You can also check that the key is being used by trying to connect to `git@{% data variables.command_line.backticks %}`:
|
||||
|
||||
@@ -177,7 +177,7 @@ $ ssh -vT git@{% data variables.command_line.codeblock %}
|
||||
> debug1: Offering RSA public key: /Users/<em>you</em>/.ssh/id_rsa
|
||||
```
|
||||
|
||||
### Verify the public key is attached to your account
|
||||
## Verify the public key is attached to your account
|
||||
|
||||
You must provide your public key to {% data variables.product.product_name %} to establish a secure connection.
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ topics:
|
||||
---
|
||||
The `-K` option is in Apple's standard version of `ssh-add`, which stores the passphrase in your keychain for you when you add an ssh key to the ssh-agent. If you have installed a different version of `ssh-add`, it may lack support for `-K`.
|
||||
|
||||
### Solving the issue
|
||||
## Solving the issue
|
||||
|
||||
To add your SSH private key to the ssh-agent, you can specify the path to the Apple version of `ssh-add`:
|
||||
|
||||
@@ -28,7 +28,7 @@ To add your SSH private key to the ssh-agent, you can specify the path to the Ap
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Further reading
|
||||
## Further reading
|
||||
|
||||
- "[Generating a new SSH key and adding it to the ssh-agent](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)"
|
||||
- [Linux man page for SSH-ADD](http://man7.org/linux/man-pages/man1/ssh-add.1.html)
|
||||
|
||||
@@ -10,15 +10,15 @@ topics:
|
||||
redirect_from:
|
||||
- /github/authenticating-to-github/error-unknown-key-type
|
||||
---
|
||||
### About the `unknown key type` error
|
||||
## About the `unknown key type` error
|
||||
|
||||
When you generate a new SSH key, you may receive an `unknown key type` error if your SSH client does not support the key type that you specify.{% mac %}To solve this issue on macOS, you can update your SSH client or install a new SSH client.
|
||||
|
||||
### Prerequisites
|
||||
## Prerequisites
|
||||
|
||||
You must have Homebrew installed. For more information, see the [installation guide](https://docs.brew.sh/Installation) in the Homebrew documentation.
|
||||
|
||||
### Solving the issue
|
||||
## Solving the issue
|
||||
|
||||
{% warning %}
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@ to approve this key so we know it's safe.
|
||||
Fingerprint: ab:08:46:83:ff:f6:c4:f8:a9:4e:68:6b:94:17:f2:46
|
||||
fatal: could not read from remote repository
|
||||
```
|
||||
### Solving the issue
|
||||
## Solving the issue
|
||||
|
||||
To fix this, you need to [review your SSH keys](/articles/reviewing-your-ssh-keys) and either reject or approve the unverified key. Clicking the URL link in the error message brings you to the SSH Settings page, where the unverified SSH key is highlighted in the SSH key list.
|
||||
|
||||
@@ -25,7 +25,7 @@ $ ssh -T -p 443 git@ssh.github.com
|
||||
|
||||
If that worked, great! If not, you may need to [follow our troubleshooting guide](/articles/error-permission-denied-publickey).
|
||||
|
||||
### Enabling SSH connections over HTTPS
|
||||
## Enabling SSH connections over HTTPS
|
||||
|
||||
If you are able to SSH into `git@ssh.{% data variables.command_line.backticks %}` over port 443, you can override your SSH settings to force any connection to {% data variables.product.product_location %} to run though that server and port.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user