lnkr_ on Nostr: nano /etc/ssh/sshd_config PermitRootLogin no PasswordAuthentication no ...
nano /etc/ssh/sshd_config
PermitRootLogin no
PasswordAuthentication no
ChallengeResponseAuthentication no
KbdInteractiveAuthentication no
UsePAM no
CasuallyLogInWithAPassword no
ButWhatIfTheyAskVeryNicely no
OccasionallyDeviateFromTheseConfigsIfImFeelingFunny no
YouGuysAreSoLameWithYourHardening prohibit-password
AlsoGuessWhatThisThingDoes prohibit-fucking-password
systemctl restart sshd
Published at
2024-10-09 15:59:50Event JSON
{
"id": "44bd8ff7f8ec5b1eaec1521112e7237be6b9e79cf88a87bc90dacdda23c17595",
"pubkey": "f4b1ea283e2dfa82ec8363ea4b3dfb4adfe5705ab0d10bc820d33d00acd7f718",
"created_at": 1728489590,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.ml/users/lnkr_/statuses/113278293783338696",
"activitypub"
]
],
"content": "nano /etc/ssh/sshd_config\n\nPermitRootLogin no\nPasswordAuthentication no\nChallengeResponseAuthentication no\nKbdInteractiveAuthentication no\nUsePAM no\nCasuallyLogInWithAPassword no\nButWhatIfTheyAskVeryNicely no\nOccasionallyDeviateFromTheseConfigsIfImFeelingFunny no\nYouGuysAreSoLameWithYourHardening prohibit-password\nAlsoGuessWhatThisThingDoes prohibit-fucking-password\n\nsystemctl restart sshd",
"sig": "c318a09df0a8c062691eabd907f986645cb3b4136e481712558a0852d065744ff0daed24081a1d074a275b387376032c765e72e1578d2a1d7eb2243c844bff85"
}