N
N
nepster-web2014-03-11 20:45:46
git
nepster-web, 2014-03-11 20:45:46

Why does bitbucket ask for a password when committing to a server?

I use https://bitbucket.org service to work with git commands
Created an RSA key:

ssh-keygen -t rsa

Копируем содержимое открытого ключа в новый,  создаваемый файлик – authorized_keys: 
cat id_rsa.pub >> authorized_keys

Выставляем права на директорию .ssh/, и все ,что в ней находится: 
chmod -R 600 * 
chmod 700 ~/.ssh/ 

Added it to bitbucket.
I did everything from the test user through the sudo su command.
Next command:
git push -u origin --all
And constantly asking for my password to log in to bitbucket. Tell me, please, what is the problem, why is it asking for a password?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Litvinov, 2014-03-11
@nepster-web

Clone from this link [email protected]:your_nick/repository_name
Or change the address for origin
(something like this git remote set-url origin [email protected]:your_nick/repository_name)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question