Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In general, the problem was solved, the task was that it was necessary to generate a public and private key on the hosting and place them on the bitbucket.
Before that, I tried to generate it with the ssh-keygen command and got the
error fatal: Could not read from remote repository.
The problem was solved by generating a key with the following command ssh-keygen -b 2048 -t rsa -q -N '' -f ~/.ssh/id_rsa
Generate a pair of ssh keys, put the public one in your bitbucket account, put the private one on the hosting and connect. Or what exactly do you want?
You can use Bitbucket Pipelines ( an article about using SSH keys there) or set up web hooks that pull some script on the hosting that will pull updates to the master branch as you need and where you need it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question