This project is a way to create a pairing station to which developers can easily ssh. This is not meant to be a permanent box so whatever changes you make, make sure you make them in this repo.
docker build -t pairing-station .
or pull the latest build from ghcr:
docker pull ghcr.io/spectrocloud-labs/pairing-station:main
The pairing container can be started anywhere, on your workstation, the cloud, Kubernetes etc. It just needs to be able to run containers.
From the machine of your choice, do the following.
First you are going to need an edgevpn token. This is the only thing that needs to be shared among the developers.
Follow the instructions to generate a new token:
edgevpn -g -b > pairing.token
export EDGEVPNTOKEN=$(cat pairing.token)
export GITHUB_USERS="jimmykarily,mauromorales,oz123"
./start.sh
Any developer in GITHUB_USERS can now connect to the container with these 2 commands:
export EDGEVPNTOKEN=$(cat pairing.token)
edgevpn service-connect "PairingSSH" "127.0.0.1:2222" &
ssh [email protected] -p 2222
Run tmux attach
to connect to the running tmux session.