1
0
Fork 0
myserver-configuration/docker/Dockerfile

10 lines
No EOL
203 B
Docker

FROM fedora:38
RUN dnf install openssh-server -y
RUN ssh-keygen -A -v
RUN useradd -m -G wheel test
RUN echo 'test:test' | chpasswd
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"]