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"]