👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.

Authorizing an SSH key for use with SAML single sign-on

To use an SSH key with an organization that uses SAML single sign-on (SSO), you must first authorize the key.

Were you able to find what you were looking for?

You can authorize an existing SSH key, or create a new SSH key and then authorize it. For more information about creating a new SSH key, see "Generating a new SSH key and adding it to the ssh-agent."

Note: If your SSH key authorization is revoked by an organization, you will not be able to reauthorize the same key. You will need to create a new SSH key and authorize it. For more information about creating a new SSH key, see "Generating a new SSH key and adding it to the ssh-agent."

  1. In the upper-right corner of any page, click your profile photo, then click Settings.
    Settings icon in the user bar
  2. In the user settings sidebar, click SSH and GPG keys.
    Authentication keys
  3. Next to the SSH key you'd like to authorize, click Enable SSO or Disable SSO.
    SSO token authorize button
  4. Find the organization you'd like to authorize the SSH key for.
  5. Click Authorize.
    Token authorize button

Further reading

Were you able to find what you were looking for?

Ask a human

Can't find what you're looking for?

Contact us