SSH

Secure ShellApplication layer · OSI 7

Encrypted remote terminal login and authenticated channels

Step 1 of 6: Exchange plain version banners. After connecting on port 22, both computers send a single unencrypted line announcing SSH-2.0 and their software release. Every packet after that uses SSH binary framing.
0.0 s / 29.9 s
Your laptop192.168.1.10
HandshakeControlEncryptedRequestResponse

Overview

opens an encrypted shell on a distant computer so you can run commands or transfer files safely. The server proves its identity using a , and you prove yours with a key pair or password.

Secure Shell (RFC 4251 through RFC 4254) runs over port 22. After negotiating algorithms and verifying the server's host key during transport setup, it authenticates the user and multiplexes channels inside one encrypted session.

Key facts

Layer
Application (over TCP)
Default port
22 (TCP)
Server proof
Long-term host key (known_hosts)
User auth
Public key signature or password
Defined in
RFC 4251 - RFC 4254

Remote shell authenticated and encrypted

Both machines picked shared ciphers, confirmed the server's host key, derived encryption keys with a post-quantum hybrid exchange, and proved Alice's identity by signing with a key stored only on her laptop.

SSH-2.0 completed TCP port 22 setup, KEXINIT, hybrid sntrup761x25519-sha512 KEX, Ed25519 userauth, and interactive session multiplexing.

Key exchange
sntrup761 + X25519
Cipher
ChaCha20-Poly1305
Authentication
Ed25519 key signature
Keystroke defense
20 ms ticks + decoys

Try it yourself

Inspect an SSH handshake verbally

Use verbose mode on a test host you control to watch KEX, host-key checks, and userauth stages.

ssh -v alice@example.com