SSH -v output reader
Paste the output of ssh -v or ssh -vv. The page
looks for a short list of well-known messages and, when one is clearly there,
gives a short reading of it and links the guide that covers it. When nothing
clear is there, it says so.
Verbose logs can include user names, home directory paths and host names. Check what you paste before you share it anywhere else, and never paste a private key.
Result
Nothing you type leaves this page: the reader makes no request, sets no cookie and stores nothing. It does not run ssh or connect to any host, so it cannot say whether a server is up or a key is right. It only matches the text you paste. The site's usual cookie-free page count still loads, as on every page, and it never includes what you type.
What it looks for
Wording differs between OpenSSH versions and platforms, so the match is on the common phrasing and a different wording may not be recognised. The reader looks for:
-
Connection timed outorOperation timed out, andConnection refused, and the connect-timeNetwork is unreachableorNo route to host Could not resolve hostname-
Unable to negotiatewithno matching ... foundfor a host key type, key exchange method, cipher or MAC. A closed handshake is read separately, below. -
kex_exchange_identificationand the olderssh_exchange_identification, such asConnection closed by remote host. A bareConnection closedline is not read on its own, since it also appears for unrelated reasons. -
The four ordinary close lines
Connection closed by ADDRESS port N,Connection to HOST closed by remote host.,Read from remote host HOST: Connection reset by peerandclient_loop: send disconnect: Broken pipe. They are read as "the connection ended after it was made", not as a cause. The shortConnection closed byline is skipped when an identification or negotiation error is also in the paste. -
Timeout, server not responding.and the form with a host name in it. They are read as "ssh ended an open session after unanswered keepalive probes", not as a connect-time timeout, a banner exchange stall or one of the ordinary close lines. -
Control socket connect(PATH): REASON. It is read as "ssh could not connect to a local control socket", not as a refused connection to the SSH port, even when the reason saysConnection refused, and not as the already exists lines. -
channel N: open failed: connect failed, with or without a system reason after it. It is read as "a forward was used and its connect failed", not as a timeout, a refusal or a session that ended, even when the reason saysConnection refused. -
Error: remote port forwarding failed for listen port Nand theWarning:form, and the same two withlisten path. They are read as "a remote forward did not start listening", not as a failed connect on a forward or a local port in use. -
The authenticity of host ... can't be established,REMOTE HOST IDENTIFICATION HAS CHANGEDandHost key verification failed -
Failed to add the host to the list of known hosts (PATH).It is read as "ssh could not write the host key to the file named", not as a first-time prompt, a changed key or thePermanently addedsuccess line. -
Permission denied (publickey), including forms such as(publickey,password), andToo many authentication failures. The second is read as "the server stopped the attempt after several tries", not as a refusal of the keys offered, and a log that has both is shown both readings. -
Bad owner or permissions onwhen the path is an ssh config file, such as.ssh/configor a file in.ssh/config.d. An included file with another name elsewhere is not recognised. The warning about a private key file is read separately, below. -
no such identity:with a path andNo such file or directory, andLoad key "..." invalid format. These are often warnings before a denied login. OtherLoad keyreasons are not read. -
sign_and_send_pubkey: signing failed for TYPE "PATH", with or withoutfrom agent, and the olderAgent admitted failure to sign using the key.They are read as "a key was offered and its signature failed", not as a missing agent, an empty agent, a Load key problem or a denied login. -
UNPROTECTED PRIVATE KEY FILE,no identitiesandCould not open a connection to your authentication agent
For a denied or too-many-failures log it also counts the
Offering public key lines, which show which keys ssh actually
sent. It does not hash keys. If the paste contains a fingerprint, the
SSH key fingerprint checker can
compare it with another one. For a known_hosts or
authorized_keys line you already have, the
known_hosts and authorized_keys line checker
says what kind of line it is and which field is wrong.
What it cannot tell you
A reading is a hint about where to look, not a diagnosis. The log is only
what your machine saw, and several different problems can print the same
line. If the log is cut off before the final error, the reader may find
nothing or find an earlier message. Run the command again with
-v and paste the whole of it.
Where this fits
The guides behind the readings are could not resolve hostname, connection timed out or refused, unable to negotiate, no matching host key type, kex_exchange_identification connection closed, bad owner or permissions on a config file, bad configuration option, address already in use on a local forward, channel open failed: connect failed, ControlSocket already exists, control socket connect failed, remote port forwarding failed for listen port, timeout, server not responding, too many authentication failures, failed to add the host to the list of known hosts, signing failed or Agent admitted failure to sign, no such identity or Load key invalid format, Load key incorrect passphrase, permission denied (publickey) the first-connection host key prompt and a changed host key. If the problem began after a firewall change, see locked out after a firewall change. More free tools are on the tools page.
Or skip the inbound port
RescueShell is a hosted relay: the device dials out over HTTPS, nothing comes in, and you open the shell from a browser, so there is no inbound port to time out or be refused. The first device is free to try with no card, for 30 days from when it connects, not from when you sign up. Start a trial.