Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
scoheb committed Apr 6, 2020
1 parent 1e4d82a commit 95436e3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ RUN yum -y install procps
RUN mkdir /var/run/sshd

# create host keys
RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_key
RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_key -P ""
RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key -P ""
RUN ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key -P ""

# tell ssh to not use ugly PAM
RUN sed -i 's/UsePAM\syes/UsePAM no/' /etc/ssh/sshd_config
Expand Down

0 comments on commit 95436e3

Please sign in to comment.