SSH (Secure Shell) is a network protocol that allows secure data exchange and remote access over an unsecured network. It uses public-key cryptography to authenticate the remote host and encrypt the data transmission, providing confidentiality and integrity. SSH is commonly used for remote login, command execution, and file transfer. An SSH server listens on port 22 by default to accept connections from SSH clients, which are typically used to log into remote machines and execute commands securely.