{"thread":{"id":"49413","subject":"git clone works in ide but not git bash CLI","startedAt":"2018-09-24T20:50:57Z","lastAt":"2018-10-02T22:59:59Z","messageCount":2,"participants":["David Brown","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"358781","messageId":"2e7399d2595f403507ebbe748ee5f5ae@davidwbrown.name","threadId":"49413","inReplyTo":null,"subject":"git clone works in ide but not git bash CLI","fromName":"David Brown","fromEmail":"david@davidwbrown.name","sentAt":"2018-09-24T20:43:44Z","receivedAt":"2018-09-24T20:50:57Z","isPatch":false,"sender":{"key":"david@davidwbrown.name","avatar":"https://gravatar.com/avatar/c9f1df953200b4f5fda054b555a876f9297b561df38184edef6473771e4e5729?d=mp&s=160"},"body":"Howdy, I have a conundrum:\n\nApp: Spring Cloud Config Server\nenvvars: GIT_URL and SSH_KEY\nIDE: Intellij 2018.2.4 Ultimate\n\nWhen I use the IDE to assign the SSH_KEY value all is copacetic.\n\nIf I assign the envvar at the Git Bash CLI:\n\ncom.jcraft.jsch.JSchException: Auth fail\n\nAny guesses?\n\nThanks and regards,\n\n"},{"id":"359482","messageId":"nycvar.QRO.7.76.6.1810030058530.2034@tvgsbejvaqbjf.bet","threadId":"49413","inReplyTo":"2e7399d2595f403507ebbe748ee5f5ae@davidwbrown.name","subject":"Re: git clone works in ide but not git bash CLI","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2018-10-02T22:59:52Z","receivedAt":"2018-10-02T22:59:59Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi David,\n\nOn Mon, 24 Sep 2018, David Brown wrote:\n\n> Howdy, I have a conundrum:\n> \n> App: Spring Cloud Config Server\n> envvars: GIT_URL and SSH_KEY\n> IDE: Intellij 2018.2.4 Ultimate\n> \n> When I use the IDE to assign the SSH_KEY value all is copacetic.\n> \n> If I assign the envvar at the Git Bash CLI:\n> \n> com.jcraft.jsch.JSchException: Auth fail\n> \n> Any guesses?\n\nThis sounds like you use JGit somehow? Whereas \"Git Bash CLI\" suggests\nthat you actually want to use Git for Windows?\n\nCiao,\nJohannes\n\n> Thanks and regards,\n> \n> \n"}]}