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.

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."

Before you can authorize a personal access token or SSH key, you must have a linked SAML identity. If you're a member of an organization where SAML SSO is enabled, you can create a linked identity by authenticating to your organization with your IdP at least once. Para obtener más información, consulta la sección "Acerca de la autenticación con el inicio de sesión único de SAML".

After you authorize a personal access token or SSH key, the authorization does not expire. The token or key will stay authorized until revoked in one of these ways.

  • An organization owner revokes the authorization.
  • You are removed from the organization.
  • The scopes in a personal access token are edited, or the token is regenerated.

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. En la esquina superior derecha de cualquier página, da clic en tu foto de perfil y después da clic en Configuración. Icono Settings (Parámetros) en la barra de usuario
  2. En la barra lateral de configuración de usuario, da clic en Llaves SSH y GPG. Llaves de autenticación
  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

¿Te ayudó este documento?

Política de privacidad

¡Ayúdanos a hacer geniales estos documentos!

Todos los documentos de GitHub son de código abierto. ¿Notas algo que esté mal o que no sea claro? Emite una solicitud de cambios.

Haz una contribución

O, aprende cómo contribuir.