Olá pessoal uso o Ubuntu estou tentando versionar um projeto então criei o projeto local e criei um repositório no bitbucket, mas quando fui dar um push ele deu um erro de permissão que nunca tive no windows, gostaria da ajuda de vocês. Segue o erro do terminal.
Código :
att,
Código :
flavio@flavio-nash:/var/www/html/zf2$ git init
Initialized empty Git repository in /var/www/html/zf2/.git/
flavio@flavio-nash:/var/www/html/zf2$ git remote add origin git@bitbucket.org:flavioalves/zf2.git
flavio@flavio-nash:/var/www/html/zf2$ echo "Flavio Alves" >> contributors.txt
flavio@flavio-nash:/var/www/html/zf2$ git add contributors.txt
flavio@flavio-nash:/var/www/html/zf2$ git commit -m 'Initial commit with contributors'
[master (root-commit) ffe4f95] Initial commit with contributors
1 file changed, 1 insertion(+)
create mode 100644 contributors.txt
flavio@flavio-nash:/var/www/html/zf2$ git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.[/font][/color]
[color=#333333][font='Helvetica Neue', Helvetica, Arial, sans-serif]Please make sure you have the correct access rights
and the repository exists.
Initialized empty Git repository in /var/www/html/zf2/.git/
flavio@flavio-nash:/var/www/html/zf2$ git remote add origin git@bitbucket.org:flavioalves/zf2.git
flavio@flavio-nash:/var/www/html/zf2$ echo "Flavio Alves" >> contributors.txt
flavio@flavio-nash:/var/www/html/zf2$ git add contributors.txt
flavio@flavio-nash:/var/www/html/zf2$ git commit -m 'Initial commit with contributors'
[master (root-commit) ffe4f95] Initial commit with contributors
1 file changed, 1 insertion(+)
create mode 100644 contributors.txt
flavio@flavio-nash:/var/www/html/zf2$ git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.[/font][/color]
[color=#333333][font='Helvetica Neue', Helvetica, Arial, sans-serif]Please make sure you have the correct access rights
and the repository exists.
att,