SSH into a remote server

Is it possible to SSH into a remote server using bitrise?
I’d like to SSH into my remote server and pull from github whenever a new release is made.

My current code is:

brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
sshpass -f <(printf '%s\n' $PASSWORD) ssh -tt $REMOTE_URL
cd public_html/...
git pull "https://$GH_USERNAME:$GH_PASSWORD@github.com/<REPO>.git" production

I get this error when it runs

ssh: Could not resolve hostname mars.cs.qc.edu: nodename nor servname provided, or not known

Am I doing this correctly? Is this not possible?

Thanks!

Nevermind I had the incorrect REMOTE_URL. Sorry! For anyone whos curious, this works for ssh’ing in. Not sure about the GitHub pulling stuff

1 Like

No worries, @ehuda, glad to hear it was a simple and fast resolution! :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.