SSH: Start with the host fingerprint
Have the delivered host address, SSH port, username, and private key matching the public key ready. Keep the private key only on a controlled device or in a key store; never paste it into a ticket.
- First connection:Compare the host fingerprint shown in the console with the client prompt line by line.
- Permission check:Make sure the private key is readable only by the current user and that the public key has not been damaged by line breaks.
- Disconnection troubleshooting:Check the local network, DNS or address, port reachability, and the username-to-key mapping in order.
- Collect evidence:Keep verbose output with timestamps, but remove sensitive parts of the address, username, and key path.
ssh -vvv -p <port> <user>@<host>