points by throwa356262 3 days ago | 0 comments
musl only, the quick fix:
PasswordAuthentication=no
Which is a good advice in general.[–] sva_ 3 days ago
Another thing I would recommend is having your servers in a wireguard net and only allowing ssh from inside that virtual network. There is no need to publicly expose ssh.
[–] somat 3 days ago
Why is wireguards auth better than openssh auth?
[–] TheDong 3 days ago
Wireguard allows effectively no configuration around auth, and so it's more likely that it is configured in a secure manner.
Openssh allows: password auth with weak passwords, PAM with potentially insecure PAM modules, gssappi, configurable ciphers, etc. Wireguard has none of those.
Each of those auth methods adds more possible vulnerable code paths and accidentally insecure configurations. It's very reasonable to believe that wireguard auth, since it has far fewer moving parts and configuration knobs, is likely to have fewer ways it can be insecure.
[–] praash 3 days ago
Layered security is better (as long as their weaknesses don't overlap).
[–] vadansky 3 days ago
Not only that, wireguard doesn't even reply if they don't have the right key, while SSH does so the attacker knows there is at least a target.
[–] INTPenis 3 days ago
Yeah until they discover a vuln in wireguard.
[–] sva_ 2 days ago
Then you still have your ssh safeguards
[–] vadansky 3 days ago
I was always uncomfortable that it's on by default and surprised anyone uses it it. It's also more cumbersome compared to just using a key. I feel like using keys is the password manager analogue for SSH.
[–] XorNot 3 days ago
It's irrelevant. There's no reason this should be any more effective in the face of software bugs then anything else.
[–] patadura 3 days ago
imo this is a good advice only if the devices that connect to the server have their home encrypted and ssh private key protected.
[–] solyin 3 days ago
[–] jareklupinski 3 days ago
at this point the _last_ thing i care about is my email.
where am i? am i ok? how are my friends/loved ones?
once those are in place, it becomes clearer how to get back to "normal"
[–] solyin 3 days ago
[–] jareklupinski 3 days ago
[–] fn-mote 3 days ago
[–] solyin 3 days ago
[–] jasomill 2 days ago
On systems that receive regular updates, SSH can fail for many reasons other than authentication problems, after all.
[–] gfv 3 days ago
[–] nucleardog 3 days ago
Is it fast? No, but that's a feature.
But it does mean I get to lean on the existing processes and identity verification already part of the government bureaucracy and the courts as my backdoor.
[–] worksonmine 3 days ago
[–] pixl97 3 days ago
And this is assuming the server is somewhere else on the cloud.
[–] worksonmine 3 days ago
Or I have proper backups synced across the world on different providers. The likelihood of everything failing is not a vector I worry about. If that happens I have bigger problems to worry about.
[–] viraptor 3 days ago
Locally: Same, but printed out, laminated, in a safe place with other documents.
[–] denkmoon 3 days ago
[–] solyin 3 days ago
[–] BigTTYGothGF 3 days ago
Who can presumably get you in touch with the relevant embassy or consulate or, failing that, local authorities.
[–] denkmoon 1 day ago
[–] MPSimmons 3 days ago
[–] INTPenis 3 days ago
[–] mr_mitm 3 days ago
[–] petesergeant 3 days ago
[–] otterley 2 days ago