added note for tighter sshd config
[feisty_meow.git] / infobase / configuration / ssh / mods_for_etc_sshd_config.txt
1
2 to increase security on an sshd server, and assuming you have
3 registered your ssh keys ahead of time in authorized_keys, then
4 this bit goes in /etc/sshd_config (at the end works fine):
5
6 ##############
7
8 # fred mods 2019-02-19:
9 # trying to keep intruders out...  this disables password logins.
10 # also of course disables root logins, which should already have been done.
11 PermitRootLogin no
12 ChallengeResponseAuthentication no
13 PasswordAuthentication no
14 UsePAM no
15
16 ##############
17