ssh -G prints the resolved client configuration for the given host — which hostname, port, identity files, and options would actually be used — without connecting. It is the debugger for mysterious ssh behavior caused by ~/.ssh/config rules. Pipe to grep to inspect specific settings.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.