This Dockerfile creates a SSH service on top of Debian GNU/Linux inside a Docker Container.
- Default
root
′s password isTrustNo1
. - Default
user
′s password isDivBy0
.
See this blog article for why you′d want to do this.
docker build --tag debianssh-server .
docker run --detach --publish 2222:22 debianssh-server
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without any warranty.