Commit 07e58696 authored by Konstantin Pavlov's avatar Konstantin Pavlov

zesty: generate ssh host keys.

parent 1db8fb53
......@@ -7,6 +7,7 @@ RUN apt-get update && \
apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd && \
sed -i 's,use_authtok ,,' /etc/pam.d/common-password && \
ssh-keygen -A && \
mkdir -p /var/run/sshd && \
adduser --quiet jenkins && \
echo "jenkins:jenkins" | chpasswd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment