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