Skip to content

Files

Latest commit

0f32308 · Jun 20, 2016

History

History
This branch is 70 commits behind Kaixhin/dockerfiles:master.

ssh

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 20, 2016
Jun 15, 2016
Mar 4, 2015

Docker Pulls Docker Stars

ssh

Ubuntu Core 16.04 + SSH server.

Build

Include password.txt with the password for sshd (by default this is "password").

Usage

The default password should be changed. To do so start up a container and then run docker exec <id> bash -c "echo 'root:<password>' | chpasswd".

For automatically mapping a SSH port use docker run -dP kaixhin/ssh and docker port <id> to retrieve the port. For specifying the port manually use docker run -d -p <port>:22 kaixhin/ssh. The shell can be entered as usual using docker run -it kaixhin/ssh bash.

Citation

If you find this useful in research please consider citing this work.