The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH Deployment

ctw00244
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
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!
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
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!
May 6, 2021

Hello ctw00244,

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

TAGS
AUG Leaders

Atlassian Community Events