fix(sshd): move login banner to zsh .zprofile
sshd Banner fires on every connection (scp, sftp, non-interactive), the wrong layer for a welcome banner. Move to .zprofile, interactive login shells only.
This commit is contained in:
@@ -44,9 +44,6 @@ PermitUserEnvironment no
|
||||
SyslogFacility AUTH
|
||||
LogLevel VERBOSE
|
||||
|
||||
# Banner
|
||||
Banner /etc/ssh/banner
|
||||
|
||||
# SFTP
|
||||
Subsystem sftp internal-sftp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user