>_How the Terminal Works · Lesson 6 of 7
SSH — Your Terminal, Any Machine
The payoff for all this text-protocol archaeology: because a terminal session is just a byte stream, it travels over a network connection perfectly. SSH is how every server on Earth is administered.
Everything from earlier lessons applies unchanged over SSH — pipes, redirection, environment variables, escape codes, vim. The shell doesn't know it's remote; the terminal doesn't know either. Two machines, one byte protocol. This is why the terminal remains the universal server interface while GUIs come and go: bytes over a wire beat pixels over a wire.
✦ Tip
Next steps from here: the Bash track for real command-line fluency, and ~/.ssh/config for saving host aliases (ssh myserver instead of ssh -p 2222 admin@203.0.113.9). Once tmux + ssh feel natural, you can work from anything with a keyboard.
Next steps from here: the Bash track for real command-line fluency, and ~/.ssh/config for saving host aliases (ssh myserver instead of ssh -p 2222 admin@203.0.113.9). Once tmux + ssh feel natural, you can work from anything with a keyboard.