Set the following Env Vars:
REMOTE_ACCESS_SSH_PUB_KEY
: an SSH Public Key - you'll be able to SSH into the container with the private key of this public key. You can find your default public key on your Mac/Linux with:cat $HOME/.ssh/id_rsa.pub
NGROK_CONFIG
: a fullngrok
config
ngrok
config example:
authtoken: NgrokAuthToken1234
tunnels:
ssh:
addr: 2222
proto: tcp
You can get your Ngrok Auth Token at: https://dashboard.ngrok.com/auth
Once ngrok
is started in the build you can find the SSH IP on ngrok at: https://dashboard.ngrok.com/status
To SSH into the Build VM / container: ssh root@0.tcp.ngrok.io -p PORT
(you can find the PORT and the IP at https://dashboard.ngrok.com/status)
Hello @viktorbenei, I ran through the steps and got asked for a password when I attempted to ssh into the ngrok port. Should I be able to ask Bitrise for that ssh password?