SSH guides
Connect securely, troubleshoot authentication, and manage remote hosts.
Choose a Mac SSH client by comparing how OpenSSH, Termius, and Rumus handle separate keys, a bastion host, and an SFTP upload.
Read the server's ssh-rsa or ssh-dss offer, check what your OpenSSH client supports, and choose a server-side fix or a one-host RSA workaround.
Use ssh -vvv to tell whether your key was never offered, the server rejected it, or signing failed. Match the log to the next check on the client or server.
Diagnose SSH agent refused operation errors by checking loaded keys, socket ownership, keychain state, hardware tokens, permissions, and agent forwarding.
Resolve SSH key exchange negotiation failures by comparing client and server algorithms, updating legacy systems, and using narrow temporary compatibility settings.
Diagnose SSH kex_exchange_identification and connection closed errors by checking access controls, connection limits, bans, proxies, and sshd logs.
Diagnose SSH broken pipe errors and sessions that disconnect by checking idle timeouts, keepalives, network stability, bastions, and server logs.
Stop SSH from offering too many keys by identifying the effective identities, controlling ssh-agent, and configuring IdentitiesOnly safely.
Diagnose SSH timeouts by checking DNS, routing, firewalls, security groups, ports, proxies, and whether the server is reachable.
Find out why an SSH server refuses connections by checking the port, service status, firewall rules, bind address, and network path.
Resolve SSH host key verification failures safely by checking whether a server was rebuilt, its address changed, or the connection may be intercepted.