Skip to content

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

License

Notifications You must be signed in to change notification settings

Cellophan/ssh-over-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages