ssh permissão negada chave pública ao adicionar nova chave

1

Eu tinha um id_rsa em ~ / .ssh / newfolder / e usando o arquivo de configuração corretamente, então eu fui adicionar um novo em ~ / ssh / git / e agora a chave git funciona, mas a do newfolder não funciona t. Qualquer ajuda seria apreciada.

heres uma conversa que tive com alguém que eu ultrapassei alguns passos experimentados:

did you added keys into ~/.ssh/config using the scheme: Host your_git_host User git_user_name IdentityFile ~/.ssh/git/git_key Host your_new_host User new_user_name IdentityFile ~/.ssh/newfokder/new_key ? Also, don't forget to set permissions to .ssh and the keys as 700 and 600 correspondingly – static 10 hours ago

yes i believe that is all correct, is 700 the folder permission? – user2888676 10 hours ago

yes, the ~/.ssh/ – static 10 hours ago

yea thats all good... still no progress, i was using the git hub tutorial and i think doing the ssh-add some how screwed it all up, even though removing the keys from within there has no effect – user2888676 10 hours ago

by removing i mean ssh-add -D – user2888676 9 hours ago

    
por user2888676 17.10.2013 / 14:31

0 respostas