Sign inSign up

choury/ssh

By choury

•Updated about 8 years ago

ssh server in docker

Image
0

5.3K

choury/ssh repository overview

FROM debian:9

RUN apt-get update &&
apt-get install -qq -y --no-install-recommends sysvinit-core openssh-server rsyslog busybox &&
apt-get clean &&
echo 'root:root' | chpasswd &&
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config &&
sed -i '//sbin/getty/s%^%#%' /etc/inittab

ENV container docker #EXPOSE 22 CMD ["/sbin/init"]

Tag summary

Content type

Image

Digest

Size

62.2 MB

Last updated

about 8 years ago

docker pull choury/ssh