container with ssh login from putty
67
#FROM ubuntu:16.04 #RUN apt-get update && apt-get install -y openssh-server #RUN mkdir /var/run/sshd #RUN echo 'root:thinknyx'|chpasswd #RUN sed -i 's/PermitRootLogin prohibit-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 #EXPOSE 22 #CMD ["/usr/sbin/sshd", "-D"]
Content type
Image
Digest
Size
77.6 MB
Last updated
almost 7 years ago
docker pull siddharth20/containerssh:v1