- 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).
Hi @maciek skorczewski . Please, check this answer.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.