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
sshpass -f <(printf '%s\n' $PASSWORD) ssh -tt $REMOTE_URL
cd public_html/...
git pull "https://$GH_USERNAME:$<REPO>.git" production

I get this error when it runs

ssh: Could not resolve hostname nodename nor servname provided, or not known

Am I doing this correctly? Is this not possible?


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.