

With the SSH keys generated, and the public key registered in your GitHub account, you can now use Git to connect to GitHub over SSH on Windows. To obtain a secure, GitHub SSH Windows connection, you must register the public key in your online account settings. ssh folder under the user’s home directory. Again, just click enter to accept the default location, which is the. You will also be asked for a location to save the GitHub SSH keys on Windows. ssh-keygen flagsĬomments or metadata to add to the public key It’s permissible to click enter and leave this blank. You will be asked for an optional passphrase.

In Windows PowerShell, issue the following ssh-keygen command to create GitHub SSH keys: PS C:\github\ssh\example> ssh-keygen -o -t rsa -C " " GitHub SSH keys are created with the ssh-keygen tool that comes prepackaged with updated versions of Windows. This is validated against a locally stored private key that Git uses to validate and establish a connection. To start, store a public SSH key on GitHub. Perform a Git clone operation using your repo’s SSH URL.Save the public key in your GitHub account settings.

