Skip to content

Commit

Permalink
Remove regen of SSH keys for Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jul 12, 2024
1 parent a543a2e commit 5207109
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfiles/test_suite-ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ RUN true \
$ADDITIONAL_PACKAGES \
&& true

RUN true \
&& for key_type in rsa ecdsa; do true | ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
&& mkdir -p /root/.ssh \
RUN true && mkdir -p /root/.ssh \
&& printf "%s\n" "$CLIENT_PUBLIC_KEY" >> "$AUTH_KEYS" \
&& chmod og-rw /root/.ssh "$AUTH_KEYS" \
&& sed -i '/session\s\+required\s\+pam_loginuid.so/d' /etc/pam.d/sshd \
Expand Down

0 comments on commit 5207109

Please sign in to comment.