I am getting bellow error.
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied (publickey,password).
I added SSH key: Settings->Pipeline->SSH Keys.
My bitbucket-pipelines.yml file inside:
pipelines:
default:
- step:
deployment: staging
caches:
- composer
script:
- ssh root@142.93.143.146
- eval `ssh-agent -s`
- ssh-add ~/.ssh/id_rsa
- ssh-add -l
- cd /var/www/backoffice/
- git checkout master
- git pull origin master
- sudo php artisan optimize
- sudo composer dump-autoload
- echo 'Deploy finished.'
I couldn't find a solution in my searches, unfortunately.