diff --git a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md index 8d8904f25c82..155138205d50 100644 --- a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md +++ b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md @@ -176,6 +176,14 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav > ```powershell > git config --global core.sshCommand "C:/Windows/System32/OpenSSH/ssh.exe" > ``` +> +> Furthermore, you may need to specify which `ssh-keygen` binary Git should use to avoid conflicts with the binary bundled with Git for Windows. To define which binary is used, run the following command: +> +> ```powershell +> git config --global gpg.ssh.program "C:/Windows/System32/OpenSSH/ssh-keygen.exe" +> ``` +> +> Alternatively, you can re-install Git for Windows and select the "Use external OpenSSH" option during the installation process. {% endwindows %}