File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV AUTH_KEYS=/root/.ssh/authorized_keys
6
6
ARG CLIENT_PUBLIC_KEY
7
7
ARG ADDITIONAL_PACKAGES
8
8
9
- # Insall Python so Ansible remediations can work
9
+ # Install Python so Ansible remediations can work
10
10
# Don't clean all, as the test scenario may require package install.
11
11
RUN true \
12
12
&& yum install -y openssh-clients openssh-server openscap-scanner \
@@ -15,7 +15,7 @@ RUN true \
15
15
&& true
16
16
17
17
RUN true \
18
- && for key_type in rsa ecdsa ed25519 ; do ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
18
+ && for key_type in rsa ecdsa; do ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
19
19
&& mkdir -p /root/.ssh \
20
20
&& printf "%s\n" "$CLIENT_PUBLIC_KEY" >> "$AUTH_KEYS" \
21
21
&& chmod og-rw /root/.ssh "$AUTH_KEYS" \
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV AUTH_KEYS=/root/.ssh/authorized_keys
6
6
ARG CLIENT_PUBLIC_KEY
7
7
ARG ADDITIONAL_PACKAGES
8
8
9
- # Insall Python so Ansible remediations can work
9
+ # Install Python so Ansible remediations can work
10
10
# Don't clean all, as the test scenario may require package install.
11
11
RUN true \
12
12
&& yum install -y openssh-clients openssh-server openscap-scanner \
@@ -15,7 +15,7 @@ RUN true \
15
15
&& true
16
16
17
17
RUN true \
18
- && for key_type in rsa ecdsa ed25519 ; do ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
18
+ && for key_type in rsa ecdsa; do ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
19
19
&& mkdir -p /root/.ssh \
20
20
&& printf "%s\n" "$CLIENT_PUBLIC_KEY" >> "$AUTH_KEYS" \
21
21
&& chmod og-rw /root/.ssh "$AUTH_KEYS" \
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV AUTH_KEYS=/root/.ssh/authorized_keys
6
6
ARG CLIENT_PUBLIC_KEY
7
7
ARG ADDITIONAL_PACKAGES
8
8
9
- # Insall Python so Ansible remediations can work
9
+ # Install Python so Ansible remediations can work
10
10
# Don't clean all, as the test scenario may require package install.
11
11
RUN true \
12
12
&& yum install -y openssh-clients openssh-server openscap-scanner \
@@ -15,7 +15,7 @@ RUN true \
15
15
&& true
16
16
17
17
RUN true \
18
- && for key_type in rsa ecdsa ed25519 ; do ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
18
+ && for key_type in rsa ecdsa; do ssh-keygen -N '' -t $key_type -f /etc/ssh/ssh_host_${key_type}_key; done \
19
19
&& mkdir -p /root/.ssh \
20
20
&& printf "%s\n" "$CLIENT_PUBLIC_KEY" >> "$AUTH_KEYS" \
21
21
&& chmod og-rw /root/.ssh "$AUTH_KEYS" \
You can’t perform that action at this time.
0 commit comments