mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
Fixing multiple docker issues (#386)
* Added stupid docker task to makefile * Dropped unknown option PrintLastLog from docker ssh config * OpenSSH should log to docker stdout * Set random pw for docker git user, otherwise it is locked * Stop using templates and public within docker
This commit is contained in:
parent
1831ee2d1d
commit
c6b6a61bf1
4 changed files with 8 additions and 6 deletions
|
@ -2,5 +2,5 @@
|
|||
[[ -f ./setup ]] && source ./setup
|
||||
|
||||
pushd /root > /dev/null
|
||||
exec su-exec root /usr/sbin/sshd -E /var/log/sshd.log -D
|
||||
exec su-exec root /usr/sbin/sshd -D
|
||||
popd
|
||||
|
|
|
@ -18,7 +18,6 @@ UseDNS no
|
|||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
PrintMotd no
|
||||
PrintLastLog no
|
||||
|
||||
PermitUserEnvironment yes
|
||||
PermitRootLogin no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue