Skip to content
All Blog Posts

/en/series/ssh

SSH from Scratch

An SSH curriculum from zero to mastery. From protocol concepts and server setup, key authentication, hardening, and tunneling, through to deployment automation and protocol internals.

Written in order, so you can start from part one.

10 parts published Last update September 26, 2026
srv-ssh-01.bytenesia 10/10 Nodes Online Progress 100%
Online Planned
  1. 01

    Part 1 Published

    Introduction to SSH: What It Is, How It Works, and Why Every Server Uses It

    Learn SSH from scratch: its brief history, the transport protocol and cryptography, how it differs from telnet, and your first remote server login.

  2. 02

    Part 2 Published

    Setting Up Your First OpenSSH Server the Right Way

    A practical guide to installing and configuring an OpenSSH server on Linux, covering sshd_config, ports, and a safe first connection test.

  3. 03

    Part 3 Published

    SSH Public Key Authentication with ssh-keygen

    Learn how to replace SSH passwords with an ed25519 key pair, install the public key on a server, use a passphrase and ssh-agent, and avoid common security pitfalls.

  4. 04

    Part 4 Published

    SSH Hardening: Securing a Server's sshd_config on the Internet

    Harden any internet-facing SSH server by disabling password logins, restricting users, adding fail2ban, and applying a proven best-practices checklist.

  5. 05

    Part 5 Published

    SSH Tunneling and Port Forwarding: Unlocking an Arbitrary Network

    Use SSH -L, -R, and -D to forward ports securely: tunnel to internal databases, reach services in reverse, and set up dynamic SOCKS tunnels.

  6. 06

    Part 6 Published

    Secure File Transfer with scp, sftp, and rsync over SSH

    Every way to move files between servers securely: scp, interactive sftp, and rsync for large syncs, complete with a comparison and best practices.

  7. 07

    Part 7 Published

    Managing SSH with ~/.ssh/config and ssh-agent

    Stop typing long addresses: create Host aliases, per-host keys, multiplexed connections, and one-time passphrase unlocks with ssh-agent for maximum SSH productivity.

  8. 08

    Part 8 Published

    Server Automation with SSH: Scripts, Cron, and CI/CD

    Turn manual tasks into automation with secure SSH scripts, scheduled cron jobs, and CI/CD pipelines that deploy and maintain servers reliably.

  9. 09

    Part 9 Published

    Jump Host and ProxyJump: Multi-Server SSH Infrastructure

    Manage many servers through one entry point: bastion concepts, ProxyJump, chained keywords, and secure patterns across networks from lab to production.

  10. 10

    Part 10 Published

    Inside the SSH Protocol: Cryptography, Handshake, and Specification

    Take SSH apart from the inside: key exchange, host keys, ciphers, MACs, perfect forward secrecy, and how clients cryptographically verify the server.

Articles in This Series

Every published part, collected in one place.