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?