Skip to content

Instantly share code, notes, and snippets.

@varhub
Created November 7, 2018 13:35
Show Gist options
  • Save varhub/d309b9ac87c730fd154b3d4518b76b11 to your computer and use it in GitHub Desktop.
Save varhub/d309b9ac87c730fd154b3d4518b76b11 to your computer and use it in GitHub Desktop.
Docker: On-demand isolated SSHD server without affect host configuration. But not 100% trully with security ;)
docker run --rm --publish=10022:22 \
--env ROOT_PASSWORD=simple_password \
-v $PWD:/data \
hermsi/alpine-sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment