feature: allow to connect as root
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good
This commit is contained in:
@@ -100,7 +100,7 @@ RUN apk add --no-cache \
|
||||
|
||||
# setup SSH server
|
||||
RUN sed -i /etc/ssh/sshd_config \
|
||||
-e 's/#PermitRootLogin.*/PermitRootLogin no/' \
|
||||
-e 's/#PermitRootLogin.*/PermitRootLogin yes/' \
|
||||
-e 's/#PasswordAuthentication.*/PasswordAuthentication no/' \
|
||||
-e 's/#SyslogFacility.*/SyslogFacility AUTH/' \
|
||||
-e 's/#LogLevel.*/LogLevel INFO/' \
|
||||
|
||||
Reference in New Issue
Block a user