You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I am using Ubuntu. I installed ssh_askpass package.
I am getting bellow error:
ssh -T root@142.93.143.146 'cd /var/www/backoffice/ && git pull origin master'
<1s
+ ssh -T root@142.93.143.146 'cd /var/www/backoffice/ && git pull origin master'
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).
My bitbucket-pipelines.yml file inside:
image: atlassian/default-image:latest
pipelines:
default:
- step:
deployment: staging
caches:
- composer
script:
- ssh -T root@142.93.143.146 'cd /var/www/backoffice/ && git pull origin master'
I searched the internet, I couldn't find any solution. i got very nervous :(
The process running ssh-askpass does not have permission to use the program, or the program is not installed on the path you have given. It may also be that the program cannot access another file.
Log on to the server you're trying to run it on and see what happens when you run the command manually, ideally with a "verbose" flag so it gives you a bit more info, after checking that it is where you think it is and that the permissions on it are correct.
I made on Ubuntu:
ln -s /usr/bin/ssh-askpass /usr/bin/ssh_askpass
When I run this command:
# ssh_askpass
ssh_askpass
Unable to init server: Could not connect: Connection refused
(ssh_askpass:29420): Gtk-WARNING **: 11:15:04.782: cannot open display:
exec(/usr/bin/ssh-askpass):
-bash: syntax error near unexpected token `/usr/bin/ssh-askpass'
root@test-droplet:/var/www/backoffice#
so it works. stupid mistake.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is 1 more server. I did not install any. It worked immediately with the same settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.