Re: git clone works in ide but not git bash CLI
Hi David,
On Mon, 24 Sep 2018, David Brown wrote:
Show 13 quoted lines
> Howdy, I have a conundrum:
>
> App: Spring Cloud Config Server
> envvars: GIT_URL and SSH_KEY
> IDE: Intellij 2018.2.4 Ultimate
>
> When I use the IDE to assign the SSH_KEY value all is copacetic.
>
> If I assign the envvar at the Git Bash CLI:
>
> com.jcraft.jsch.JSchException: Auth fail
>
> Any guesses?
This sounds like you use JGit somehow? Whereas "Git Bash CLI" suggests that you actually want to use Git for Windows?
Ciao, Johannes
> Thanks and regards,
>
>