Skip to content

TheBlackMini/ubuntu-ssh-enabled

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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/

About

SSH Enabled Ubuntu Image for Test and Dev purposes ONLY!

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Dockerfile 100.0%