Sandal6823@sh.itjust.works to Linux@lemmy.ml · 2 years agoWhy disable ssh login with root on a server if I only log in with keys, not password?message-squaremessage-square58linkfedilinkarrow-up127arrow-down10file-text
arrow-up127arrow-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 · 2 years agomessage-square58linkfedilinkfile-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-squarecatloaf@lemm.eelinkfedilinkEnglisharrow-up1·2 years agoYou assume the shell isn’t compromised.
You assume the shell isn’t compromised.