Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -87,9 +87,9 @@ RUN chmod -R 755 /etc/ssh/* &&\
|
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
-
RUN yes y | ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "
|
| 91 |
-
yes y | ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "
|
| 92 |
-
yes y | ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "
|
| 93 |
ssh-keygen -Hf /etc/ssh/ssh_known_hosts && \
|
| 94 |
chmod -R 755 /etc/ssh/*
|
| 95 |
#ssh-keyscan -p 2222 0.0.0.0 >> /etc/ssh/ssh_known_hosts
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
+
RUN yes y | ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "" && \
|
| 91 |
+
yes y | ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "" && \
|
| 92 |
+
yes y | ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" && \
|
| 93 |
ssh-keygen -Hf /etc/ssh/ssh_known_hosts && \
|
| 94 |
chmod -R 755 /etc/ssh/*
|
| 95 |
#ssh-keyscan -p 2222 0.0.0.0 >> /etc/ssh/ssh_known_hosts
|