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.
This is a problem with your process set up - you will need to be calling the ssh process with -t and -T as well.
Thank you I resolve. Bellow error:
Pseudo-terminal will not be allocated because stdin is not a terminal
But I am getting now :
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Either ssh-askpass is not installed there, or the permissions are set to not allow your process to run it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- I didnt find any solution on the internet. What is the problem? Can you help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.