Sign inSign up

mbinunn/ubuntu_ssh_server

By mbinunn

•Updated over 5 years ago

UBUNTU with OpenSSH server

Image
0

225

mbinunn/ubuntu_ssh_server repository overview


⁠Overview

This image provides an UBUNTU container with a preinstalled OpenSSH server.


⁠Usage Example:

Assuming that your user has the docker privileges, here is an example for creating and running the container:
docker run -d -t \
-p 22:22 \
-e ROOT_PASSWD=my_root_password \
--name=MySshContainer mbinunn/ubuntu_ssh_server


You should now be able to connect by typing ssh root@localhost on your terminal, or via apps like PuTTy.


⁠Optional Variables:

ROOT_PASSWD = Initializes the root password of UBUNTU


⁠Saving your own image

After making changes, installing software or changing startup.sh, save your own image by using the following command:
docker commit MySshContainer my_own_ssh_image:v1


⁠Source code

See my source code on https://github.com/mbinnun/Dockers/tree/main/ubuntu-ssh-server⁠

Tag summary

Content type

Image

Digest

Size

88.6 MB

Last updated

over 5 years ago

docker pull mbinunn/ubuntu_ssh_server