forum/Permission denied - what is wrong?git-annexhttp://git-annex.branchable.com/forum/Permission_denied_-_what_is_wrong__63__/git-annexikiwiki2016-01-23T23:06:03Zcomment 1http://git-annex.branchable.com/forum/Permission_denied_-_what_is_wrong__63__/comment_1_b850a32cce4c9782e59fc91076b6cae7/joey2016-01-19T20:56:00Z2016-01-19T20:26:57Z
<p>The remote server is rejecting your ssh key to log into it.</p>
<p>If you used the web app to set this up, it will have generated a ssh key
just for this server, and put it in <code>~/.ssh/git-annex/</code> on the client.</p>
<p>You need to check your <code>~/.ssh/authorized_keys</code> file on the server
and make sure that the ssh key is listed in it. Checking the server's
ssh log file may also help track down why it's rejecting the login.</p>
comment 2http://git-annex.branchable.com/forum/Permission_denied_-_what_is_wrong__63__/comment_2_e8d2170e5f830d0f98bc8251caf8bc5e/db2016-01-23T23:06:03Z2016-01-23T23:06:03Z
<p>In fact, I have 2x2 keys on my local machine</p>
<p>key.git-annex-fqdn-db_2222_db.2Fannex
key.git-annex-fqdn-db_2222_db.2Fannex.pub
key.git-annex-fqdn-db_22_annex
key.git-annex-fqdn-db_22_annex.pub</p>
<p>Why duplicates? The "public 2222" key is in my ~/.ssh/authorized_keys but not the "public 22"-key.</p>