SSH Deployment

ctw00244 July 1, 2019

Hi,

 

I am getting base64: truncated base64 input

when I try to run shell script via ssh-run:0.2.0, any suggestion ?

1 answer

1 accepted

1 vote
Answer accepted
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2019

Hi @ctw00244 . Do you pass your own private key via the SSH_KEY parameter? Make sure it's base64 encoded before passing it to the pipe. This page provides some insights on hot to use SSH keys in pipelines as well https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html#UseSSHkeysinBitbucketPipelines-multiple_keys.

ctw00244 July 2, 2019

Hi Alexander,

That's right!  I forgot to add my private and public key to pipelines section in Settings menu. Everything is working fine now.

 

Thank you for your time to help me.

Pandiarajan Subburam May 6, 2021

Hello ctw00244,

Can you please share the yml file for remote ssh script file executing please.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events