Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Usage of ssh-agent
Usage of ssh-agent [message #1828957] Tue, 23 June 2020 08:32 Go to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Hi everyone,

I would like to use a ssh-agent which provides my ssh key while interacting with the remote git repo.

I use Windows 10.

On one machine I can git clone flawlessly. The ssh key is provided by the ssh-agent automatically, but on another machine this doesn't work. I am prompted for a password.

Tools like TortoiseSVN use the key provided by the ssh-agent.

I just can't figure out what's different on the two machines, so maybe someone has a hint which configuration might be missing?

Thanks!

Kind regards
Oliver
Re: Usage of ssh-agent [message #1828975 is a reply to message #1828957] Tue, 23 June 2020 14:05 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 495
Registered: August 2016
Senior Member
Probably you have set environment variable GIT_SSH on the machine where it works, and not on the other machine.

[Updated on: Tue, 23 June 2020 14:06]

Report message to a moderator

Re: Usage of ssh-agent [message #1828977 is a reply to message #1828975] Tue, 23 June 2020 14:32 Go to previous message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Thomas Wolf wrote on Tue, 23 June 2020 10:05
Probably you have set environment variable GIT_SSH on the machine where it works, and not on the other machine.

That's it. Thanks a lot, Thomas!
Previous Topic:Cannot Open Compare Editor - This is a merge commit with more than one ancestor
Next Topic:Having both global and local .gitignore
Goto Forum:
  


Current Time: Wed Sep 28 20:14:57 GMT 2022

Powered by FUDForum. Page generated in 0.02037 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top