Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Usage of ssh-agent
Usage of ssh-agent [message #1828957] Tue, 23 June 2020 04:32 Go to next message
Eclipse UserFriend
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 10:05 Go to previous messageGo to next message
Eclipse UserFriend
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 10:06] by Moderator

Re: Usage of ssh-agent [message #1828977 is a reply to message #1828975] Tue, 23 June 2020 10:32 Go to previous message
Eclipse UserFriend
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: Thu Jul 17 00:15:39 EDT 2025

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

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

Back to the top