You can enable verbose debugging for the git command by doing:
export GIT_TRACE=true

Since git is using ssh to make the connection, it will be ssh that is using the keys.
Normally ssh will try these keys by default:

~/.ssh/id_rsa
~/.ssh/id_dsa
~/.ssh/identity

in that order.

To specify a different key for your git connection use an entry in your ~/.ssh/config file for the git hosts.
As an example, with springloops the git host is:

ssh://[email protected]:1234/

thus your entry will be

host slsapp.com
user sls
hostname slsapp.com
port 1234
identityfile ~/.ssh/id_dsa

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.