![]() The Stackoverflow link above hints at this solution, but the answers are complicated and suggest that you either need to use Windows OpenSSH, edit your ssh configurations, or run Intellij from the command line. If you protected it with a passphrase, you may have additional configuration. Optionally, encrypt the private key with a passphrase (best practice). Literally, 2 special files, in a special place. It's probably looking for keys in the Windows user home instead of the Cygwin user home. High level overview of what must happen: Create a public-private SSH key pair. I think when Intellij invokes the Cygwin git binary without the full Cygwin environment, it picks up the Windows ssh before the Cygwin ssh in the path. Run setx $(cat $HOME/.nf | grep AUTH | sed -e 's/=/ /' -e 's/. # This is necessary to add SSH_AUTH_SOCK to the Windows environment. When you run the above command, it will create 2 files in the /.ssh directory. bashrc where I start the ssh-agent, restarted my ssh-agent, and restarted Intellij. You can use ssh-keygen command, only if you have installed Git with Git Bash. ![]() I was able to work around this for Cygwin by setting GIT_SSH_COMMAND to /bin/ssh in my Windows user environment variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |