7 lines
141 B
Text
7 lines
141 B
Text
|
FROM fedora:38
|
||
|
|
||
|
RUN dnf install openssh-server -y
|
||
|
RUN ssh-keygen -A -v
|
||
|
|
||
|
EXPOSE 22
|
||
|
CMD ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"]
|