Hi,
I have been trying to ssh into digitalocean VPS but no luck.
I even tried to make a simple bash script for it but It throws an error
"Permission Denied"
My Pipleline :
pipelines:
default:
- step:
script:
- echo "Everything is awesome!"
branches:
staging:
- step:
script:
- ./do-deploy.sh
do-deploe.sh
echo "Deploying on Digital Ocean..."
ssh -o StrictHostKeyChecking=no -i $My_KEY user@server
echo "Deploying on Digital Ocean..."
ssh -o StrictHostKeyChecking=no -i $My_KEY user@server
Any help will be highly appreciated.