threads / discuss / 49413

git clone works in ide but not git bash CLI

Subject: git clone works in ide but not git bash CLI

## tl;dr

2 messages between Sep 24, 2018 and Oct 2, 2018.

replies: 1people: 2as markdown or json

David Brown· Sep 24, 2018, 20:43 UTC · lore
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?
Thanks and regards,
Johannes Schindelin· Oct 2, 2018, 22:59 UTC · re: David Brown · lore

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,
> 
> 

← back to recent threads