We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63ff46e commit f756e73Copy full SHA for f756e73
docker/ci-storage/Dockerfile
@@ -12,7 +12,8 @@ RUN true \
12
&& apt-get install -y --no-install-recommends \
13
openssh-server \
14
awscli jq gh rsync python3 python3-yaml rsyslog systemctl tzdata gosu less mc git curl wget pv psmisc unzip zstd file vim nano telnet net-tools apt-transport-https ca-certificates locales gnupg lsb-release \
15
- && sed -i -e "s|#PermitRootLogin.*|PermitRootLogin no|" /etc/ssh/sshd_config \
+ && sed -i -E "s|#?PermitRootLogin.*|PermitRootLogin no|" /etc/ssh/sshd_config \
16
+ && sed -i -E "s|#?MaxStartups.*|MaxStartups 500:30:1000|" /etc/ssh/sshd_config \
17
&& useradd -m guest -s /bin/bash \
18
&& mkdir ~guest/.ssh && chmod 700 ~guest/.ssh \
19
&& chown -R guest:guest ~guest
0 commit comments