Forums

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

Getting invalid format for the private key when using bitbucket pipeline

Ritesh Kumar
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 21, 2025

actually Deploying SpringBoot to hostinger kvm

using the option for environment creation  by bitbucket  {deploy springboot to aws}

Tested the login, with id_rsa private key which is successful .

But when using the bitbucket pipeline its giving error that is invalid format:

 

scp -i ~/.ssh/id_rsa target/Sri-Ram-Mega-Store-0.0.1-SNAPSHOT.jar user@$EC2_HOST:/Sri-Ram-Mega-Store-new.jar

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events