Skip to content

Commit 216a53b

Browse files
visunaliQingqing Li
andauthored
Disable weak ciphers (#798)
Co-authored-by: Qingqing Li <[email protected]>
1 parent ff11634 commit 216a53b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/install-worker.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ else
9292
echo "tsc as a clock source is not applicable, skipping."
9393
fi
9494

95+
################################################################################
96+
### SSH ########################################################################
97+
################################################################################
98+
99+
# Disable weak ciphers
100+
echo -e "\nCiphers [email protected],aes128-ctr,aes256-ctr,[email protected],[email protected]" | sudo tee -a /etc/ssh/sshd_config
101+
sudo systemctl restart sshd.service
102+
95103
################################################################################
96104
### iptables ###################################################################
97105
################################################################################

0 commit comments

Comments
 (0)