Tutorials · DevOps & Containers
How to Reach Remote Sites Safely With an SSH Jump Host
Do not expose SSH on every device. Put one hardened jump host (bastion) in front of the management network and reach everything else through it.
Before you start
- A small Linux VM or edge server on the management VLAN
- SSH keys for each engineer
- Firewall access to the management VLAN
Step by step
Build the jump host
Install a minimal Linux, apply updates, create one account per engineer with their public key, and disable password logins.
Allow SSH only to the jump host
On the gateway firewall, allow TCP 22 from your office or VPN range to the jump host only. Block SSH from the Internet to every other device.
Allow the jump host to the devices
Inside, allow SSH and HTTPS from the jump host to switches, gateways and edge servers on the management VLAN.
Connect through it
OpenSSH's ProxyJump makes the hop transparent. Your key is used end to end; nothing is stored on the jump host.
ssh -J alice@bastion.example.com admin@10.1.99.12Save it in your SSH config
Add host aliases so every engineer uses the same safe path.
# ~/.ssh/config Host bastion HostName bastion.example.com User alice Host site1-* ProxyJump bastion User admin Host site1-core HostName 10.1.99.2
Log and limit
Send the jump host's auth log to your syslog server and add fail2ban or rate limits on port 22.
Commands are generic, industry-standard examples. Exact syntax and menu names vary by model and firmware; check your device's manual on the Documentation page.
Pro tips
- Put the jump host behind your VPN as well for two layers of protection.
- Use short session timeouts (ClientAliveInterval 300, ClientAliveCountMax 2).
FAQ
Frequently asked questions
Bastion or VPN?
Both. The VPN gets you onto the management network; the bastion is the only door into the devices and gives you one place to log and audit.
Keep learning
Related guides
Remote-access VPN for users
Read more →Monitor your network with SNMP and syslog
Read more →How to Use SSH Keys Instead of Passwords for Network Devices and Servers
Passwords can be guessed, phished and reused. Create an SSH key pair, install the public key on gateways, edge servers and Linux hosts, then turn password logins off.
Read more →How to Open a Device Web Page Through an SSH Tunnel
Reach the web interface of a switch, NVR or container on a remote site without opening a firewall port: forward it through SSH.
Read more →Docker Basics on a NavEdge Edge Server: Run Your First Container
NavEdge edge servers run on-site applications in Docker containers. Learn the five commands you need: pull, run, ps, logs and restart policies.
Read more →Stuck on a step?
Ask Navijin technical support or an authorised partner for help with your configuration.