Comment on *sshole is a banger of a name
doughless@lemmy.world 3 weeks agossh allows you to add trusted public key. When you ssh from a computer that has the private key, it will immediately log you in without asking for your password.
Comment on *sshole is a banger of a name
doughless@lemmy.world 3 weeks agossh allows you to add trusted public key. When you ssh from a computer that has the private key, it will immediately log you in without asking for your password.
Grostleton@lemmy.dbzer0.com 3 weeks ago
Ok, but what’s a certicate?
surewhynotlem@lemmy.world 3 weeks ago
Oh, a certicate is a typo that most people miss
Fontasia@feddit.nl 3 weeks ago
Overly basically, it’s a file based way to prove you can log into an account
There is information in file that the computer can verify that you created the certificate on this computer while already having access to this account, therefore you are allowed access.
In most contexts, digital certificates are considered more secure than a password for authentication, so in creating one, it’s a pretty typical thing to disable being able to log in with a password. However, this bug allows account access with a garbage password.
Grostleton@lemmy.dbzer0.com 3 weeks ago
OK, but what’s a certicate?
Fontasia@feddit.nl 3 weeks ago
I’ve never seen one before, no one has… But I’m guessing it’s a white hole.
mumblerfish@lemmy.world 3 weeks ago
I think they meant certificate, and are perhaps referencing the eMudhra incident?
Carl@anarchist.nexus 3 weeks ago
No, there was an SSH vulnerability discovered a day or two ago, which allows anyone to log in with a fake certificate. So if your SSH is configured to only use a certificate, (not cert and password) then anyone can log into your shit.
mumblerfish@lemmy.world 3 weeks ago
Huh, I must have missed that one. Alpine/musl as well then? Got a ref?
ozymandias117@lemmy.world 2 weeks ago
It requires
PasswordAuthentication yesIf you’re using key or cert based login, I’d hope you disabled password login completely