Sandal6823@sh.itjust.works to Linux@lemmy.ml · edit-213 days agoWhy disable ssh login with root on a server if I only log in with keys, not password?message-squaremessage-square60fedilinkarrow-up171arrow-down14file-text
arrow-up167arrow-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-213 days agomessage-square60fedilinkfile-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-squareBrianTheeBiscuiteer@lemmy.worldlinkfedilinkarrow-up3·12 days 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.
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.