I am trying to prevent remote access for my laptop.
I went into sshd_config to try and set it up. My IT guy recommended the following changes to accomplish this:
PermitRootLogin no
PubkeyAuthentication no
PasswordAuthentication no
However, when I went to make the changes the line of code says:
#PermitRootLogin prohibit
This seems like a double negative. so yes means prohibit and no means don't prohibit. Can anyone confirm?
#LoginGraceTime 2m #PermitRootLogin prohibit-no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10
– Jay Boyle Oct 08 '20 at 17:11