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

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-08-20. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Article version: Enterprise Server 2.18

About SSH

Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub Enterprise without supplying your username or password at each visit.

Were you able to find what you were looking for?

When you set up SSH, you'll generate an SSH key and add it to the ssh-agent and then add the key to your GitHub Enterprise account. Adding the SSH key to the ssh-agent ensures that your SSH key has an extra layer of security through the use of a passphrase. For more information, see "Working with SSH key passphrases."

We recommend that you regularly review your SSH keys list and revoke any that are invalid or have been compromised.

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