Ssh Access Debugging

Work out why an SSH login fails or is slow: "Permission denied (publickey)", "Too many authentication failures", "connection reset during key exchange", "host key changed warning", "ssh hangs for 30 seconds before the prompt". Run the client with ssh -vvv and read which keys were offered, then the server side: journalctl for ssh or sshd, and sshd -T -C for the effective config including Match blocks, not the file. In order: port reachable, MaxStartups or fail2ban bans, too many keys offered (IdentitiesOnly), StrictModes permissions on home, .ssh and authorized_keys, AllowUsers, SELinux context, rsa-sha2 versus ssh-rsa. Slowness: UseDNS and GSSAPI. Validate with sshd -t and reload with a session left open. Use for any failed or slow login. Not for what to set (host-hardening), a lockout with no way in (linux-lockout-recovery), a leaked key (secret-rotation) or denial after login (permission-denied-triage).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit c15d330e58

Frequently asked questions

npx get-skill add greenblacked/ssh-access-debugging