HUB
Sign inSign up
sshd logo

call518/sshd

By call518

•Updated about 11 years ago

root-pw: r00tme

Image
0

1.2K

call518/sshd repository overview

FROM ubuntu:14.04.1
MAINTAINER JungJungIn <[email protected]>
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir -p /var/run/sshd
RUN echo 'root:r00tme' | chpasswd
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# SSH login fix. Otherwise user is kicked off after login
RUN sed 's@session\s*required\s*pam_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"]
Tag summary
Recent tags
Content type
Image
Digest
sha256:d2eb5280f…
Size
95.8 MB
Last updated
about 11 years ago
docker pull call518/sshd:latest