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:
@@ -6,7 +6,6 @@ ssh_allowed_networks:
|
||||
ssh_users: "jokester" # space separated if many
|
||||
ssh_config_dir: "/etc/ssh"
|
||||
sshd_config: "{{ ssh_config_dir }}/sshd_config"
|
||||
sshd_banner: "{{ ssh_config_dir }}/banner"
|
||||
sshd_binary: "/usr/sbin/sshd"
|
||||
ssh_authorized_keys_fallback_enabled: false
|
||||
ssh_authorized_keys_fallback_dir: "/etc/ssh/authorized_keys"
|
||||
|
||||
Reference in New Issue
Block a user