SomeBoyo@feddit.de to Selfhosted@lemmy.world · 7 months agoWhat are common practice's for hardening/securing your server?message-squaremessage-square59fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareWhat are common practice's for hardening/securing your server?SomeBoyo@feddit.de to Selfhosted@lemmy.world · 7 months agomessage-square59fedilink
minus-squareMaggiWuerze@feddit.delinkfedilinkEnglisharrow-up0·7 months agoSo, no. SSH can’t do 2FA? I would need to set up Authelia and connect through that? I already use ssh keys instead of passwords to connect to my server
minus-squarefoggy@lemmy.worldlinkfedilinkEnglisharrow-up0·7 months agoYes it can. I literally have it set up right now. When I connect to my vps I am promoted for the password for my SSH key. Only works on a machine that has the ssh key. Then I need to use 2fa.
So, no. SSH can’t do 2FA? I would need to set up Authelia and connect through that? I already use ssh keys instead of passwords to connect to my server
Yes it can. I literally have it set up right now.
When I connect to my vps I am promoted for the password for my SSH key. Only works on a machine that has the ssh key.
Then I need to use 2fa.