--- title: Authorizing an SSH key for use with SAML single sign-on intro: 'To use an SSH key with an organization that uses SAML single sign-on (SSO), you must first authorize the key.' redirect_from: - /articles/authorizing-an-ssh-key-for-use-with-a-saml-single-sign-on-organization/ - /articles/authorizing-an-ssh-key-for-use-with-saml-single-sign-on versions: free-pro-team: '*' --- 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](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)." {% note %} **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](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)." {% endnote %} {% data reusables.user_settings.access_settings %} {% data reusables.user_settings.ssh %} 3. Next to the SSH key you'd like to authorize, click **Enable SSO** or **Disable SSO**. ![SSO token authorize button](/assets/images/help/settings/ssh-sso-button.png) 4. Find the organization you'd like to authorize the SSH key for. 5. Click **Authorize**. ![Token authorize button](/assets/images/help/settings/ssh-sso-authorize.png) ### 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)"