Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -95,7 +95,9 @@ RUN yes y | ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "" && \
|
|
| 95 |
yes y | ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" && \
|
| 96 |
ssh-keygen -Hf /etc/ssh/ssh_known_hosts && \
|
| 97 |
chmod -R 755 /etc/ssh/* && \
|
| 98 |
-
cat /etc/ssh/ssh_host_rsa_key.pub
|
|
|
|
|
|
|
| 99 |
#ssh-keyscan -p 2222 0.0.0.0 >> /etc/ssh/ssh_known_hosts
|
| 100 |
|
| 101 |
|
|
|
|
| 95 |
yes y | ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" && \
|
| 96 |
ssh-keygen -Hf /etc/ssh/ssh_known_hosts && \
|
| 97 |
chmod -R 755 /etc/ssh/* && \
|
| 98 |
+
echo " Public Key $(cat /etc/ssh/ssh_host_rsa_key.pub)" && \
|
| 99 |
+
echo " Private Key $(cat /etc/ssh/ssh_host_rsa_key)"
|
| 100 |
+
|
| 101 |
#ssh-keyscan -p 2222 0.0.0.0 >> /etc/ssh/ssh_known_hosts
|
| 102 |
|
| 103 |
|