SSH Guru Blog.
← SSH Guru Blog
Browser SSH
·6 min read

Use an SSH Jump Host From a Browser Without Moving Your Keys

ssh jump hostbrowser sshbastion hostlinux admin
Woman using a laptop in a server room, showcasing modern technology and work environment.
Photo: Christina Morillo on Pexels

A browser SSH client can use an SSH jump host to reach a private server without copying your private key onto the bastion. The jump host handles the network path. Your browser handles the SSH client and credentials.

This matters for servers with no public SSH listener: a VM on an internal VLAN, a NAS at home, or a database host behind an office firewall. You may reach one hardened machine from outside while the rest of the network remains private.

In SSH Guru, jump-host support is available on Pro. The SSH client runs locally in the browser, compiled from Go to WebAssembly. Private keys and passwords in the browser vault are encrypted with Argon2id and AES-256-GCM under your passphrase. SSH Guru does not hold your private keys, passwords, or SSH sessions.

What a jump host changes

A jump host, also called a bastion host, is an SSH-reachable system with a route to systems you cannot reach directly. You expose one managed entry point, then connect onward to permitted targets.

Browser SSH client
        |
        | SSH to the public-facing bastion
        v
Jump host / bastion
        |
        | SSH across the private network
        v
Private Linux server

The private server need not accept connections from the public internet. It only needs to accept SSH from the jump host, or its network address.

Common setups include:

  • A Proxmox host and VMs on a private LAN, with one internet-reachable VPS.
  • A work server on an internal subnet administered only through a designated bastion.
  • A home lab with a public-facing gateway, while storage, monitoring, and container hosts stay on separate networks.
  • A Chromebook, iPad, or locked-down laptop that cannot run a desktop client.

A jump host does not make a private network safe by itself. It cuts the number of machines exposed to inbound SSH. Patch the bastion, control access, log activity, and review it carefully because it leads to more systems.

The connection has two separate hops

Treat a jump-host session as two SSH connections with different jobs.

The first hop runs from your browser to the bastion. Your browser verifies the bastion host key, and the bastion authenticates you. The second runs from the bastion's network position to the target. The target must accept the connection and present its own host key.

A failure can occur on either hop. Logging into the bastion does not prove it can reach the target. A target that works from the office LAN may still reject traffic from the bastion.

Host identity matters on both sides. SSH Guru pins host keys in the browser and warns when one changes. Do not dismiss a warning because the server is behind a familiar jump host. A changed key may follow a rebuild or planned rotation, but confirm it through a separate path before accepting it.

Record host-key fingerprints when adding an important bastion or production target. A password-manager secure note, infrastructure repository, or internal admin record is enough. You need something to compare when a warning appears later.

Keep access roles separate

One administrator key everywhere is tempting. It also lets an account compromise spread across a fleet.

Use a separate key or account for the bastion where practical, and limit what each account can reach. An account that enters the bastion does not need unrestricted administrator access to every internal machine. The target can have its own user, authorized key, and sudo policy.

For a small home lab, use one account for the gateway and another named admin account on the NAS or Raspberry Pi. In a larger environment, use separate identities for a production bastion, staging systems, and break-glass access.

This takes some setup work. Revocation is less painful: if a laptop is lost or a key needs replacement, remove one authorization rather than changing every server.

Do not treat the jump host as a shared terminal where keys accumulate. Agent forwarding and copied key files can make multi-hop access convenient, but they increase trust in the bastion. A browser client that keeps credentials in the local browser vault is a cleaner starting point.

Check the route from the bastion’s point of view

Most jump-host problems are ordinary network problems. Check them in order.

First, confirm the target name resolves where the connection originates. A hostname that resolves on your laptop may not resolve on the bastion. Internal DNS zones, split DNS, and /etc/hosts entries often cause this. If the target is db01.internal, make sure the bastion resolves it to the intended private address.

Second, check whether the bastion can route to that address. A host on 10.20.30.0/24 may be private, but the bastion still needs a route to that subnet. VLAN boundaries and cloud security groups often block this step.

Third, inspect the target firewall and SSH daemon. The target may allow port 22 only from its local subnet while the bastion is on a management subnet. Allow the actual bastion address or management network narrowly. Do not open SSH to every source because the jump path failed.

Finally, verify the destination port. SSH usually uses port 22, but admin networks often use another port. If the target listens on 2222 and your connection expects 22, the route can be healthy while the session fails.

A useful diagnostic sequence from an approved terminal session is:

getent hosts target-name
ip route get target-address
nc -vz target-address 22
ssh -vvv admin@target-name

Run only commands supported by the bastion. nc is not present everywhere. Verbose SSH output can show name-resolution failures, timeouts, refused ports, host-key verification problems, or user-authentication failures.

Be mindful of what you send to an AI assistant while troubleshooting. Verbose output can contain usernames, internal addresses, and credentials embedded in a bad configuration. SSH Guru uses a deterministic scanner to replace tokens, passwords, and keys with placeholders before model access. You can also scrub IPs and hostnames. Our guide to secret scrubbing before AI terminal output explains the boundary in more detail.

A bastion is not the same thing as remote access through CGNAT

A jump host requires a route to the bastion first. If your home server is behind CGNAT, Starlink, a mobile hotspot, or 5G home internet, you may have no usable inbound path to any machine at home.

That is a different problem. An outbound bridge may fit better than trying to make a private machine public. SSH Guru’s ESP32-S3 Bridge dials outbound and reaches permitted LAN SSH targets without port forwarding, inbound listeners, a VPN, or router configuration. Its allow-list rules are written to the board and can only change over USB. See how to access a home server from outside if NAT, rather than a private subnet behind an existing bastion, is the barrier.

A jump host and bridge can address different parts of one setup. A bridge may provide the remote path into a home network, while a jump host controls which internal systems an administrator can reach. Decide the entry point, permitted targets, and who can alter those rules.

Use the browser where it helps, not as a substitute for review

Browser access helps when you work from a Chromebook, iPad, phone, or work laptop where you cannot install an SSH client. It also helps when the browser vault, session history, and transcripts are available on the device in use.

It does not remove normal SSH administration duties. Keep the bastion patched. Remove departed users and old keys. Review authorized_keys, sudo access, firewall rules, and host-key changes. A public-facing bastion needs more attention than an internal-only machine.

When a connection fails, name the failed hop: browser to bastion, bastion to target, host-key check, or authentication. That turns a vague jump-host problem into a short test list.

Comments

No comments yet. Be the first.

Leave a comment

Comments appear once the author approves them.

More to read