Dockssh, ssh into any container from anywhere
- For learning and fun
- Wasting some free time in my weekend :D
- For testing/staging/development environments
Docksshrunning on port22022on hostexample.com- A user connects to
docksshi.essh -p 22022 [email protected] Docksshchecks if the user provided password is the same as the one stored in redis keydockssh:container1:pass- On success,
Docksshwill open aPTY(pseudotty) todocker exec -it container1 /bin/sh - Have fun ^^! (replace
container1with any of your containers)
- No configurations files
- Simple & tiny
- Makes
Docksshloads configurations in realtime, no need to restart
- Linux
- Docker
- Redis
Download the binary from here
go get github.com/alash3al/dockssh
- Just
./dockssh - or
./dockssh --helpto see its options