Hi Peeps (I hope this is not a double post).
But I am trying to run a commando on a remote ssh server after I make a commit to the master branch
image: atlassian/default-image:latest
pipelines:
default:
- step:
deployment: staging
script:
- eval `ssh-agent -s`
- ssh-add ~/.ssh/config
- ls | ssh kkl@xxxxe.nl -p 4000
- echo "Deploy step finished"
I have added the ssh keys to bitbucket.
But it keeps throwing this error
<span>ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory</span><span>+ ssh-add ~/.ssh/config</span>
How can I connect to the ssh server and run a commando