Recognition

No awards yet.

Posts

3 Posts
  • Published Answer

    PermitRootLogin no still allows root login via SSH

    FYI re. a solution. Restarting the service didn’t cause the new settings to take effect. Rebooting the server did. No idea why that…
    Accepted Answer: FYI re. a solution. Restarting the service didn’t cause the new settings to take effect. Rebooting the server did. No idea why that…
    By cmckulka
  • Published Answer

    PermitRootLogin no still allows root login via SSH

    OK, even stranger … I delete the .ssh directory from the root user using my sudo user. I can still login in as root on that m…
    By cmckulka
  • Published Question

    PermitRootLogin no still allows root login via SSH

    I have updated PermitRootLogin in /etc/ssh/sshd_config to no and issued a service ssh restart (multiple times) and I can still login via SSH as root using a public key. This should be blocked correct? I have read the ...
    Accepted Answer: FYI re. a solution. Restarting the service didn't cause the new settings to take effect. Rebooting the server did. No idea why that is the case.
    3 By cmckulka Initial Server Setup Ubuntu 18.04