privateone commited on
Commit
5d99ff8
·
verified ·
1 Parent(s): eb5101f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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