How to find any duplicate parameter in /etc/ssh/sshd_config #38
Closed
Description
On step 2 of Secure /etc/ssh/sshd_config, a quick and dirty way to find any duplicate parameter is with:
awk '{print $1}' /etc/ssh/sshd_config | sort | uniq -c | grep -v ' 1 '