When I try to interact with my remote repositories from within SmartGit, I get the error:
my.remote.url: Permission denied (publickey).Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The command I see in the log is:
git -c credential.helper= -c "credential.helper=/home/myuser/tools/smartgit/bin/smartgit.sh --credential=somenumber" fetch --progress --prune --recurse-submodules=no origin
The exact same command works from the terminal though. With other git clients and the command line, I have no issue. For SSH authentication I rely on the SSH agent. I am using SmartGit from Linux.