SSH (Secure Shell) is a cryptographic network protocol used for secure communication between a client and a server. Unlike Telnet, SSH encrypts all traffic including credentials making it suitable for remote administration, secure file transfers, and tunneling services.

Layer: Application (OSI Layer 7)

Port: TCP/22

Encryption: Yes (various ciphers and key exchange algorithms)


Why SSH?

SSH was designed to overcome the limitations of insecure protocols like Telnet:

image.png


SSH Use Cases


SSH Authentication Methods

SSH supports multiple authentication mechanisms: