Sandal6823@sh.itjust.works to Linux@lemmy.ml · edit-21 year agoWhy disable ssh login with root on a server if I only log in with keys, not password?message-squaremessage-square38fedilinkarrow-up145arrow-down13file-text
arrow-up142arrow-down1message-squareWhy disable ssh login with root on a server if I only log in with keys, not password?Sandal6823@sh.itjust.works to Linux@lemmy.ml · edit-21 year agomessage-square38fedilinkfile-text
On a server I have a public key auth only for root account. Is there any point of logging in with a different account?
minus-squaremiss_demeanour@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·edit-21 year agoAs root: # chattr +i /home/ShortN0te/.bashrc Anything else?
minus-squareShortN0te@lemmy.mllinkfedilinkarrow-up2·1 year agoThere are many ways to harden against it, but “just disable root auth” is not really it, since it in itself does not add much.
As root:
Anything else?
There are many ways to harden against it, but “just disable root auth” is not really it, since it in itself does not add much.