enemy7 commited on
Commit
ab12e30
·
1 Parent(s): 2f69fcd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -29,6 +29,9 @@ RUN useradd -m -d /home/sshuser -s /bin/bash sshuser
29
  # Set a password for the SSH user (replace "sshpassword" with your desired password)
30
  RUN echo 'sshuser:sshpassword' | chpasswd
31
 
 
 
 
32
  # Expose port 7768 for SSH
33
  EXPOSE 7768
34
 
 
29
  # Set a password for the SSH user (replace "sshpassword" with your desired password)
30
  RUN echo 'sshuser:sshpassword' | chpasswd
31
 
32
+ # Generate SSH host keys
33
+ RUN ssh-keygen -A
34
+
35
  # Expose port 7768 for SSH
36
  EXPOSE 7768
37