From 2a63b1630dac74da251f807834d777b991ffc236 2023-01-19 19:55:35 From: RhodeCode Admin Date: 2023-01-19 19:55:35 Subject: [PATCH] sshd-config: fix the pid file path to one that is created during build --- diff --git a/service/sshd/sshd_config b/service/sshd/sshd_config index a52fb3a..4488762 100644 --- a/service/sshd/sshd_config +++ b/service/sshd/sshd_config @@ -18,7 +18,7 @@ PubkeyAuthentication yes AuthorizedKeysFile /etc/rhodecode/conf/ssh/authorized_keys /etc/rhodecode/conf/ssh/authorized_keys_rhodecode ## Provide a path to store PID file which is accessible by normal user for write purpose -PidFile /opt/ssh/sshd.pid +PidFile /run/sshd/sshd.pid # Fixes: User USERNAME not allowed because account is locked # With "UsePAM yes" even if account gets locked because of password the key still works