Answer the question
In order to leave comments, you need to log in
Why doesn't bitbucket upload files via ssh?
The situation is this, you need to commit to the bitbucket server without entering a password, that is, using the rsa key.
I generate a key on behalf of the user:
ssh-keygen
...
// получаю ключ
cat ~/.ssh/id_rsa.pub
git init // создать новый проект
git add -A // Добавить все файлы
git commit -m "start" // Сохранить все это дело
git remote add origin [email protected]:nepster/{мой репозиторий}.git
git push -u origin --all
conq: repository access denied. access via a deployment key is read-only.
fatal: The remote end hung up unexpectedly
Answer the question
In order to leave comments, you need to log in
Use deployment keys to get read access to this repository. Learn more about using SSH keys.
You need to add your public key (content from id_rsa.pub) to the bitbucket settings:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question