pty-tunnel
v0.0.2
Published
Provide a simple tunnel to a command run in a pty.
Downloads
1
Readme
pty-tunnel
A simple TLS tunnel to a PTY. An easy way to provide a heroku run-like
experience.
Gen you up some self-signed keys;
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodesFire up a tunnel:
$ pty-tunnel docker-compose -f ~/src/adrians-example-app/docker-compose.yml run web rails cConnect to it:
$ stty raw; openssl s_client -quiet -connect HOST:PORT; reset