mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-19 04:05:36 +00:00
b5978: Append settings to sshd config to improve resilience
This commit is contained in:
@@ -216,4 +216,10 @@ myorigin =\$myhostname.sapsailing.com
|
||||
postmap hash:${password_file_location}
|
||||
systemctl restart postfix
|
||||
rm -f "${temp_mail_properties_location}"
|
||||
}
|
||||
|
||||
setup_sshd_resilience() {
|
||||
echo "ClientAliveInterval 3
|
||||
ClientAliveCountMax 3
|
||||
GatewayPorts yes" >> /etc/ssh/sshd_config
|
||||
}
|
||||
Reference in New Issue
Block a user