Use SSH in gitg without starting ssh-agent

590 Views Asked by At

When I fetch from a remote repository via an SSH Url, I get the error no auth sock variable. After starting an ssh agent, the error disappears and it works again:

eval $(ssh-agent)
ssh-add
gitg

Is there a way to use ssh with gitg without having an ssh agent running?

0

There are 0 best solutions below