FROM ubuntu:14.04 MAINTAINER Randi Clark
RUN apt-get update && apt-get install -y openssh-server RUN mkdir /var/run/sshd RUN echo 'root:screencast' | chpasswd RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
RUN sed 's@session\srequired\spam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
ENV NOTVISIBLE "in users profile" RUN echo "export VISIBLE=now" >> /etc/profile
EXPOSE 22 CMD ["/usr/sbin/sshd", "-D"]
Content type
Image
Digest
sha256:b28ef01ed…
Size
96.5 MB
Last updated
about 11 years ago
docker pull rclark36/ssh