pipeline Load key "/root/.ssh/pipelines_id": error in libcrypto

maciek s
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2025

 

- step:
name: Copy code2 #problem z git pull dla ubuntu
script:
- pipe: atlassian/ssh-run:0.8.1
variables:
SSH_USER: 'root'
SERVER: $SERVER_IP
SSH_KEY: $SSH_PRIVATE_KEY
MODE: 'script'
COMMAND: 'deploy2.sh'

 

deploy2.sh

cd /var/www/larva10cd

sudo GIT_SSH_COMMAND="ssh -vvv" git pull then

 

i get this error, i add in bitbucket pipeline console....

 

INFO: Executing the pipe...

INFO: Using passed SSH_KEY

INFO: Executing script deploy2.sh on 3.72.xx.xxx ssh -i /root/.ssh/pipelines_id -o StrictHostKeyChecking=no -p 22 root@3.72.xx.xxx bash -s

Load key "/root/.ssh/pipelines_id": error in libcrypto

Load key "/root/.ssh/pipelines_id": error in libcrypto root@3.72.xx.xxx:

Permission denied (publickey).

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2025

Hi @maciek skorczewski . Please, check this answer.

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events