OpenSSH
Also known as: OpenBSD Secure Shell
Free suite of secure networking tools based on the Secure Shell protocol, developed by the OpenBSD project and used for encrypted remote login.
OpenSSH is the most widely used implementation of the Secure Shell (SSH) protocol, which provides encrypted remote login, command execution and file transfer over untrusted networks. Its tools include the ssh client and sshd server, scp and sftp for copying files, ssh-keygen for creating keys and ssh-agent for holding them in memory. It is developed by the OpenBSD project and ships with virtually every Linux distribution and BSD system, as well as with macOS and Windows.
Finnish researcher Tatu Ylonen created the original SSH in 1995 to replace insecure tools such as telnet and rlogin, which sent passwords in plain text. As his software became more restrictively licensed, OpenBSD developers forked an older, freely licensed version and released OpenSSH in 1999. SSH authenticates servers by their host keys and users by passwords or, more securely, by public-key authentication. It also supports port forwarding, jump hosts and certificate-based authentication for large fleets of servers.
SSH underpins system administration, command-line work on remote machines and many Git transfers, which makes OpenSSH a high-value target. Defenders harden it by disabling password logins, restricting which users and keys may connect and keeping it patched. In 2024 a backdoor planted in the xz compression library targeted sshd on some Linux distributions through a distribution-specific dependency chain; it was found before reaching most stable releases, a widely studied software supply chain attack. Verifying host keys on first connection guards against a Man-in-the-Middle attack.
Key points
- OpenSSH provides encrypted remote login, command execution and file transfer.
- OpenBSD developers released it in 1999 as a free fork of early SSH code.
- Public-key authentication is stronger than passwords for logging into servers.
- The 2024 xz backdoor showed how dependencies can be used to target SSH servers.
Related entries
OpenBSD
Free Unix-like operating system derived from BSD that prioritizes security, code correctness and proactive auditing, and that created OpenSSH.
Public-Key Cryptography
Cryptographic system that uses pairs of linked keys, one public and one private, to enable encryption and digital signatures between strangers.
Man-in-the-Middle Attack
Attack in which an adversary secretly positions themselves between two communicating parties to intercept, read or alter the traffic between them.
Software Supply Chain Attack
Attack that compromises software by tampering with its dependencies, build systems or update channels, so trusted code delivers malicious changes to users.
Command-Line Interface
Text-based interface in which users interact with a computer by typing commands and reading text output rather than using graphical menus.
Authentication
The process of verifying that a person, device or system is who or what it claims to be before granting access to resources.
Security Hardening
Process of reducing a system's vulnerability by removing unnecessary functions, tightening configuration and applying secure defaults and updates.
Git
Free and open-source distributed version control system created by Linus Torvalds in 2005, used to track changes in source code.
Featured in guides
Referenced by
Other entries that discuss or point to OpenSSH.