Sign inSign up

mrh666/ubuntu-sshd

By mrh666

Updated almost 11 years ago

Image
0

274

mrh666/ubuntu-sshd repository overview

Create motd (Message Of The Day) file.

Generate RSA ssh key

ssh-keygen -f ssh-key -t rsa

Build container

docker build -t ubuntu-sshd .

Run containter on port 50

docker run -d -p 50:22 ubuntu-sshd

SSH to container

ssh -i ssh-key -o StrictHostKeyChecking=no -p 50 -v root@$(boot2docker ip)

Tag summary

Content type

Image

Digest

sha256:f0b73ff97

Size

96.1 MB

Last updated

almost 11 years ago

docker pull mrh666/ubuntu-sshd