From 4118d4e8c4496c1de18b7f961755de55376d2e8d Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 2 Sep 2021 10:50:47 +0000 Subject: [PATCH] updating build-initial-centos6.sh --- docker-jenkins/build-initial-centos6.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-jenkins/build-initial-centos6.sh b/docker-jenkins/build-initial-centos6.sh index e872609..c90b8b7 100644 --- a/docker-jenkins/build-initial-centos6.sh +++ b/docker-jenkins/build-initial-centos6.sh @@ -6,7 +6,6 @@ yum -y install \ openssh-server openssh-clients java-1.8.0-openjdk java-1.8.0-openjdk-devel \ gcc gcc-c++ gcc-gnat gcc-java make autoconf automake libtool vim-enhanced && useradd -m -s /bin/bash jenkins && -sed -i 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' /etc/pam.d/sshd && -RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key && -RUN ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key && +ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key && +ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key && mkdir -p /var/run/sshd