In plain English A secure way to type commands on a server from your own computer, as if you were sitting at it.
SSH (Secure Shell) is the encrypted way to log in to a server’s command line over the network. Everything you type and everything the server sends back is encrypted, including passwords. It is how almost every Linux server is managed, and it also carries file transfers (SFTP, scp, rsync).
Connecting
SSH is built into macOS, Linux and Windows 10 and 11:
ssh alice@203.0.113.10
The server listens on portPort A numbered door on a server. Each service listens behind its own door: web pages on 443, email on others, remote login on 22. More about Port → 22 by default. The first time you connect, SSH shows the server’s fingerprint and remembers it; if it ever changes unexpectedly, SSH warns you loudly, because it could mean the connection is being intercepted.
Passwords or keys
SSH can log in with a password or with a key pair. Keys are far safer: the private key never leaves your computer, and there is nothing for bots to guess. Bots try passwords against every public SSH server constantly, so the standard setup is keys only, with password login switched off. See how to set up SSH keys.
Useful extras
~/.ssh/configstores shortcuts, sossh myserverreplaces a long command.ssh -L 8080:localhost:80 myserverforwards a port, letting you reach a service that only listens on the server’s own address.ssh -vprints each step of the connection, which shows where a failing login goes wrong.
The server side is the sshd service, configured in /etc/ssh/sshd_config. Connection problems are covered in how to connect to a server with SSH.