HTTP/2 200
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data: 'unsafe-inline';script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
x-powered-by: Next.js
content-type: text/html; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: 982A:322CED:2AA517:35BE9F:68E8A4F6
content-encoding: gzip
accept-ranges: bytes
age: 5896
date: Fri, 10 Oct 2025 07:56:45 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210041-BOM
x-cache: HIT
x-cache-hits: 0
x-timer: S1760083005.148326,VS0,VE1
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 18785
Connecting to GitHub with SSH - GitHub Docs Skip to main content
Connecting to GitHub with SSH You can connect to GitHub using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network.
Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub without supplying your username and personal access token at each visit. You can also use an SSH key to sign commits.
To simplify deploying to a server, you can set up SSH agent forwarding to securely use local SSH keys.
Learn different ways to manage SSH keys on your servers when you automate deployment scripts and which way is best for you.
Before you generate an SSH key, you can check to see if you have any existing SSH keys.
After you've checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent.
To configure your account on GitHub.com to use your new (or existing) SSH key, you'll also need to add the key to your account.
After you've set up your SSH key and added it to GitHub, you can test your connection.
You can secure your SSH keys and configure an authentication agent so that you won't have to reenter your passphrase every time you use your SSH keys.
Help and support Ask Copilot your question. Ask Copilot