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
Hi Ritesh and welcome to the community!
If I understand correctly, you are using this scp command in your bitbucket-pipelines.yml file in Pipelines, and you get the error that the key is in an invalid format.
I would like to ask a few questions so I can better help you:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.