privateone commited on
Commit
69b421c
·
verified ·
1 Parent(s): d44e8e5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -69,9 +69,9 @@ RUN sed -i 's/Defaults !requiretty/Defaults requiretty/' /etc/sudoers && \
69
  # sudo ufw allow 2222/tcp
70
 
71
  # Generate SSH keys
72
- RUN ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "" && \
73
- ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "" && \
74
- ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ""
75
 
76
  #RUN ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "" -y && \
77
  # ssh-keygen -q -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "" -y && \
 
69
  # sudo ufw allow 2222/tcp
70
 
71
  # Generate SSH keys
72
+ RUN ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "" -y && \
73
+ ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "" -y && \
74
+ ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" -y
75
 
76
  #RUN ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N "" -y && \
77
  # ssh-keygen -q -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N "" -y && \