@Sandal6823@sh.itjust.works to Linux@lemmy.ml • edit-22 months agoWhy disable ssh login with root on a server if I only log in with keys, not password?message-square81fedilinkarrow-up197
arrow-up197message-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-22 months agomessage-square81fedilink
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-square@BrianTheeBiscuiteer@lemmy.worldlinkfedilink5•2 months agoDoesn’t even have to be the key necessarily. Could get in via some exploit first. Either way taking over the machine became a 2-step process.
minus-square@JustAnotherKay@lemmy.worldlinkfedilink2•2 months ago Unless your threat modelling includes nation-states At which point you should have a handful of extra layers
Doesn’t even have to be the key necessarily. Could get in via some exploit first. Either way taking over the machine became a 2-step process.
.
At which point you should have a handful of extra layers