4 ms·
port 22 and usepam is interesting. maybe set that to not 22 and not use pam unless you have a specific reason to. didn't dig deep to see if you had one but you'
by fragmede 2y ago
port 22 and usepam is interesting. maybe set that to not 22 and not use pam unless you have a specific reason to. didn't dig deep to see if you had one but you're not setting a pam.conf.d file as far as I saw. There's more to pick apart, but if that's the best Claude can do my job is safe for 30 more seconds.
hire a professional to secure your shit.
- computerfriend 2y agoWhy not use PAM? Or is the issue the missing PAM hardening?
- fragmede 2y agowhy use pam when ssh has authentication built in? pam is great if you have a reason to use it. I use it on my Mac so I can use my fingerprint for sudo. turning on pam implies you want to do something with it.
- dizhn 2y agoI was recently evaluating pam_ssh_agent_auth . It might be that. It allows sudo with a locally installed key.