NEW
Also known as: Secure Shell
A cryptographic network protocol for secure remote login, command execution, and tunneling over untrusted networks.
DESCRIPTION
SSH provides secure authentication, confidentiality, and integrity for remote access and administration. Defined by IETF RFCs, SSH supports password and public key authentication, secure file transfer, and port forwarding. OpenSSH is the most common implementation across Unix-like systems and Windows. SSH keys and agents streamline automated deployments and CI/CD operations. Proper key management, MACs, ciphers, and server hardening are essential to prevent misuse.
ALTERNATIVE DEFINITIONS
IETF RFC 4251
The Secure Shell (SSH) Protocol is a protocol for secure remote login and other secure network services over an insecure network.
Authoritative protocol architecture definition by IETF.
Wikipedia
Secure Shell is a cryptographic network protocol for operating network services securely over an unsecured network; typical applications include remote command-line login and remote command execution.
Describes common SSH applications beyond login.
OpenSSH
OpenSSH is a suite of secure networking utilities based on the SSH protocol.
Defines the most widely used implementation of SSH.
RELATED TERMS
OpenSSH TLS Asymmetric Encryption Key Exchange Port Forwarding SCP FTP X.509 RSA ECDSA
COMPETING TERMS
Telnet Rényi Differential Privacy
RELATIONS
- Implemented by: Ansible
KNOWLEDGE AREAS
Data Security Infrastructure Cloud Software Engineering
TARGET AUDIENCE
DevOps Engineer Software Developer Security Architect Cloud Architect Application Administrator IT Manager
EXTERNAL SOURCES
- Wikipedia - Secure Shell
- IETF - SSH transport layer protocol
- OpenSSH - OpenSSH manual and guides
- Microsoft - Windows OpenSSH overview
TOP QUESTIONS
What is the primary advantage of SSH over Telnet?
SSH encrypts data and authenticates users, providing confidentiality and integrity, whereas Telnet transmits in plaintext and is insecure.
Category: Comparison
How should SSH keys be managed securely?
Use strong key types, protect private keys, enable key passphrases or hardware tokens, rotate regularly, and restrict authorized_keys entries.
Category: BestPractices
What are common mistakes in SSH configuration?
Permitting password login, weak ciphers, or root login; not using fail2ban or limiting access by IP can create vulnerabilities.
Category: Mistakes
How does SSH port forwarding help applications?
It securely tunnels TCP connections, enabling access to internal services without exposing them publicly.
Category: UseCases
What risks arise from unmanaged SSH keys?
Orphaned keys and excessive privileges can enable unauthorized access, making audits and incident response harder.
Category: Risks
Which SSH ciphers are recommended today?
Prefer modern ciphers like chacha20-poly1305 or AES-GCM and strong key exchanges such as curve25519-sha256.
Category: Requirements
How does SSH integrate into DevOps pipelines?
Automated deployments and remote commands use SSH with CI/CD, often via ephemeral keys or agents to reduce secrets sprawl.
Category: Integration
What is the biggest misunderstanding about SSH?
Some assume SSH is only for shell access; it also supports file transfer (SCP/SFTP) and secure tunneling.
Category: Misunderstanding
Where to start learning SSH?
Read IETF RFCs for fundamentals, then practice with OpenSSH manuals and secure configuration guides.
Category: GettingStarted