Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 299 Bytes

File metadata and controls

7 lines (5 loc) · 299 Bytes

ssh-over-docker

If you can run docker, you can ssh to the machine. This is a PoC :)

Howto

To start your socks proxy:

ssh -CD 1080 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ProxyCommand="docker run --rm -i cell/ssh-over-docker $(cat ~/.ssh/id_rsa.pub)" root@127.0.0.1