SSH & Remote Administration
Reach, verify and operate many Linux hosts over SSH: client configuration, bastions, host-key trust, port forwarding and safe fleet-wide commands.
4 objectives 6 steps about 130 min
Check what you know
The lessons are coming later. The knowledge check is ready now.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Configure the OpenSSH client for many hosts with per-host settings in ~/.ssh/config, passphrase-protected keys held by ssh-agent, ProxyJump through a bastion and connection multiplexing.
- Verify server identity: explain trust on first use in known_hosts, check a host-key fingerprint out of band, respond correctly to a changed-host-key warning, and describe how CA-signed SSH certificates replace per-host trust.
- Reach services behind a firewall with local, remote and dynamic port forwarding, and explain why ProxyJump is safer than agent forwarding through a shared bastion.
- Run commands and copy files across a group of hosts non-interactively (BatchMode, timeouts, bounded parallelism), record each host's exit status and output so partial failures are visible, and decide when the task belongs in a configuration-management tool.
Lesson plan
6 steps, about 130 min · 0 of 5 lessons available so far
- How an SSH session is built: transport, host keys, user authentication and channels Concept · 20 min · coming later
- Lab: one client config for a fleet - keys, agent, ProxyJump and multiplexing Lab · 25 min · coming later
- Worked example: a changed host key - rebuild or attack? Fingerprints, known_hosts and certificates Worked example · 20 min · coming later
- Lab: tunnels to a private database and an internal web console Lab · 25 min · coming later
- One command, twenty hosts: batch mode, timeouts, parallelism and per-host results Worked example · 25 min · coming later
- Check: remote-access scenarios and a fleet script to review Knowledge check · 8 questions
Practise it
In a lab with a bastion VM and three private VMs, write a ~/.ssh/config that reaches every private host through the bastion with ProxyJump, Ed25519 keys held by ssh-agent and multiplexed connections; sign the host keys with a lab SSH certificate authority so the client trusts them without first-use prompts; open a local forward to a database that listens only on a private host; and write fleet-run.sh, which runs a command on all hosts in parallel with timeouts and prints a per-host status table. Submit the config, the script, a run in which one host is down, and a short note on what the script does not handle.
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.