Linux for network engineers lab 7 of 14
SSH: keys, client config, jump hosts and tunnels
You replace passwords with keys, harden a jump host, reach a secure network and an old router through it, and use SSH tunnels to get to services no route will take you to.
Run this lab
It needs Lite: its 4 nodes are set to 4 vCPU and 2,560 MB in total. That fits the free demo too.
In your workspace: Shared, then Linux for network engineers guided labs, then 07 - SSH - keys client config jump hosts and tunnels
- Level
- Intermediate
- Time
- About 80 minutes
- Nodes need
- 4 vCPU, 2,560 MB
- Smallest plan
- Lite
The scenario
Kestrel's Bradford site keeps its application server APP and core router R1 on a secure LAN that nothing routes to. The only way in is JUMP, a hardened Linux box with one foot on each network. Your workstation WS sits on the office side. Your job is to make that journey safe and painless, and to reach what's behind JUMP without opening anything new.
| Device | Interface | Address | Role |
|---|---|---|---|
| WS | eth0 | 10.7.10.50/24 | your workstation; no route to the secure LAN |
| JUMP | eth0, eth1 | 10.7.10.5/24, 10.7.20.5/24 | jump host; it does not forward packets |
| APP | eth0 | 10.7.20.20/24 | status page on 127.0.0.1:8080, internal site on port 80 |
| R1 | Gi0/0 | 10.7.20.1/24 | core router, SSH only |
| Device | Runs | How to log in |
|---|---|---|
| WS | Ubuntu 22.04 desktop container | Its console is a remote desktop: root / eve. Open a terminal there. |
| JUMP, APP | Alpine Linux 3.20 | root, no password. |
| R1 | Cisco IOSv 15.9 | The console opens at >; enable has no password. |
What you’ll practise
- Verify host keys and read known_hosts
- Create and install SSH keys
- Harden sshd and test it safely
- Write a client config with ProxyJump
- Connect to older network devices with per-host algorithm settings
- Build local, remote and dynamic tunnels, and copy files over SSH
The tasks
- Start the Linux nodes
- First contact and host keys
- Log in with a key
- Harden JUMP
- Use a client config and jump through
- Reach a router that speaks old SSH
- Tunnels
- Copy files
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- WS
eth0to JUMPeth0 - JUMP
eth1to Secure (network) - APP
eth0to Secure (network) - R1
Gi0/0to Secure (network)
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| WS | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| JUMP | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| APP | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| R1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Linux for network engineers guided labs.Open
07 - SSH - keys client config jump hosts and tunnelsand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More Linux for network engineers labs
All Linux for network engineers labs
Related labs in other courses
CloudLabBox is independent of Cisco, CompTIA, the Linux Foundation and the Linux Professional Institute. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.