Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pseudo-terminal will not be allocated because stdin is not a terminal.

Edited

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.

1 answer

0 votes

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 directoryPermission denied, please try again.

Either ssh-askpass is not installed there, or the permissions are set to not allow your process to run it.

Like Adam Cash likes this

I installed the ssh-askpass on my system. 

How can I set permission? How can I allow the this permission?

@Nic Brough _Adaptavist_  I didnt find any solution on the internet. What is the problem? Can you help?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you