linux - Adding SSH Key to authorized_keys: permission denied(publickey) -
- i have
id_rsa
,id_rsa.pub
on computer tied bitbucket account. - as understand can use public key anywhere please (as long private matches).
the problem: cannot figure out how server accept public key, see i've done wrong?
$ cat id_rsa.pub >> authorized_keys $ service ssh restart (i suppose isn't needed) $ git pull origin master $ permission denied(publickey)
what doing wrong? i've been stuck days.
you need copy content of id_rsa.pub bitbucket avcount in settings page
for more info https://confluence.atlassian.com/display/bitbucket/how+to+install+a+public+key+on+your+bitbucket+account
Comments
Post a Comment