mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-25 16:55:53 +03:00
[GH-ISSUE #22] Ubuntu 16.04 SSHD Config error #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jasonmcintosh on GitHub (Mar 28, 2018).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/22
Line 22:
sed -i 's/.*Subsystem sftp.*/Subsystem sftp \/usr\/lib\/ssh\/sftp-server -f AUTHPRIV -l INFO/' "$SSHDFILE"On ubuntu 16.04 (not checked current) that should be openssh not ssh.
sed -i 's/.*Subsystem sftp.*/Subsystem sftp \/usr\/lib\/openssh\/sftp-server -f AUTHPRIV -l INFO/' "$SSHDFILE"@konstruktoid commented on GitHub (Mar 28, 2018):
Thanks @jasonmcintosh, the path was incorrect for all versions.
Fixed in
github.com/konstruktoid/hardening@e2abd77af5