privateone commited on
Commit
d28fe2d
·
verified ·
1 Parent(s): 6940227

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 "0Ne" && \
91
- yes y | ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "0Ne" && \
92
- yes y | ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "0Ne" && \
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