Sign inSign up

theblackmini/ubuntu-ssh-enabled

By theblackmini

•Updated about 6 years ago

SSH Enabled Ubuntu Image for Test and Dev purposes ONLY!

Image
0

261

theblackmini/ubuntu-ssh-enabled repository overview

⁠ubuntu-ssh-enabled

NOTE: THIS IMAGE IS TO BE USED FOR TEST AND LEARNIGN PURPOSES ONLY! NOT TO BE USED IN A PRODUCTION ENVIRONMENT!

Forked from mmumshad/ubuntu-ssh-enabled

SSH Enabled Ubuntu Image for Test and Dev purposes ONLY!

⁠Use:

Run the container:

Linux:

docker run -d theblackmini/ubuntu-ssh-enabled

Windows:

docker run -d -p <port-you-specify>:22 --name <container-name> theblackmini/ubuntu-ssh-enabled

Reveal the port number

docker port <container-name>

Alternatively specify the port number yourself:

docker run -d -p <port-you-specify>:22 --name <container-name> theblackmini/ubuntu-ssh-enabled

Identify the Internal IP

docker inspect <container-id-name>

SSH

Linux:

ssh <container-ip>

Windows:

ssh localhost:<container-port>

Username: root

Password: Passw0rd

Based on : https://docs.docker.com/engine/examples/running_ssh_service/⁠

Tag summary

Content type

Image

Digest

Size

85.2 MB

Last updated

about 6 years ago

docker pull theblackmini/ubuntu-ssh-enabled