---
title: "Use a Jump Box for SSH"
description: "Route an SSH connection through a jump box to reach a server on a private network."
url: "https://userify.published.dev/docs/jumpbox.md"
canonical_url: "https://userify.published.dev/docs/jumpbox"
section: "Docs"
updated: "2026-12-01"
---

> Breadcrumbs: Docs > Use a Jump Box for SSH
> Sitemap: https://userify.published.dev/docs/sitemap.md
> LLMS index: https://userify.published.dev/docs/llms.txt

# Use a Jump Box for SSH

A jump box (also called a bastion host) is a server that provides an SSH route
to other servers on a private network. Use it when your workstation cannot
connect directly to the target server.

Userify manages SSH users and access on each server where you install its
software. Add the jump box and target server to the appropriate Userify server
groups, then grant the user access to both. Userify does not create the network
route between the two hosts. Your firewall must allow SSH from the jump box to
the target server.

## Connect through a jump box

From your workstation, run:

```bash
ssh -J YourJumpboxUsername@jumpbox.example.com YourServerUsername@server.example.com
```

Replace the example hostnames and usernames with your values. Use the account
name configured for each host. The `-J` option tells OpenSSH to connect through
the jump box before it connects to the target. Both hosts must have an account
and public key for the user, and the network must allow each SSH connection.

To avoid typing the full command, add entries for the two hosts to your local
`~/.ssh/config` file:

```sshconfig
Host userify-jumpbox
    HostName jumpbox.example.com
    User YourJumpboxUsername

Host private-server
    HostName server.example.com
    User YourServerUsername
    ProxyJump userify-jumpbox
```

Replace the example hostnames and usernames. If both hosts use the same account
name, you can use that name for both entries. Keep this configuration limited
to the hosts that need the jump box.

## Limit access

Allow SSH to private servers only from the jump box or other approved hosts.
Restrict access to the jump box to approved networks, such as your corporate
VPN. Give each person only the access required for their work. Treat the jump
box as a server that needs its own updates, monitoring, and access review.

For a first connection, see [Connect your first server](https://userify.published.dev/docs/first-server).
For product-specific network requirements, see [Userify in a Private VPC or
LAN](https://userify.published.dev/docs/how-do-i-architect-secure-vpc).

## Continue reading
- Previous: [Userify in a Private VPC or LAN](https://userify.published.dev/docs/how-do-i-architect-secure-vpc.md)
- Next: [Shim Internals](https://userify.published.dev/docs/shim-internals.md)

## Section links
- [Docs home](https://userify.published.dev/docs)
- [LLMS index](https://userify.published.dev/docs/llms.txt)
- [Sitemap](https://userify.published.dev/docs/sitemap.md)