/ tools / ssh / Dockerfile
Dockerfile
1  FROM debian:oldstable-slim
2  
3  RUN apt-get -y update && apt-get install -y bash openssh-server iproute2 tcpdump net-tools screen curl wget
4  RUN echo "UseDNS no" >> /etc/ssh/sshd_config && \
5      echo "PermitRootLogin yes" >> /etc/ssh/sshd_config && \
6      echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
7  ADD setup-ssh.sh .
8  VOLUME /mnt
9