SSH
ExplainedTool
Also known as: Secure Shell
Protocol and tool for secure, encrypted connections to remote servers.
SSH, explained
Written by EduVerseWhat it is
SSH (Secure Shell) is a protocol for connecting securely to another computer over a network. With the ssh command you get a terminal on a remote server as if you were sitting at it, and everything you send is encrypted. File transfers (scp, sftp) and Git traffic often travel over it too.
Why teams use it
Servers usually have no screen or keyboard, so you manage them remotely. Older tools like Telnet sent everything, passwords included, as readable text. SSH encrypts the connection and supports key pairs: a private key that stays on your machine and a public key you place on the server, which is safer than typing passwords.
An example from work
You try git clone git@github.com:your-team/api.git and get “Permission denied (publickey)”. GitHub doesn’t know your key yet. You run ssh-keygen -t ed25519, copy the contents of ~/.ssh/id_ed25519.pub into your GitHub settings under SSH keys, and the clone works.
Our own explanation, not a quote from the book.
In the book
Sentences from The Software Realm, Decoded that mention SSH, exactly as printed.
- What they say
- “SSH into the server and check the logs.”
- What they mean
- Connect to the Linux server using your terminal and use commands to read the log files.
Chapter 1 · 1.2.4 Why Linux Matters (Even on Mac and Windows) · p. 26Open in the free preview
Peter “Okay, but what is SSH exactly.”
Chapter 1 · 1.2.4 Why Linux Matters (Even on Mac and Windows) · p. 26Open in the free preview
Where it fits
Secure server logins, file transfer, tunnelling
Coverage in the book
Explained and compared with alternatives, so you know where and why it’s used.