Connect to an SSH host through a jump server
Build a paste-ready command, then review its compatibility and effects before running it.
ssh -J <jump-username>@<jump-host> <username>@<host>Complete required fields to copy the generated command.
Compatibility
Linux + macOSVerified for Linux, macOS using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementssshssh must be installed and available on PATH.Network accessThe target must be reachable from the current environment.
Version supportssh Current supported releasesVerified for linux, macos using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsLast login: Wed Jul 23 10:21:07 2026 from 10.20.0.5Representative successful output; values vary with the selected target and system state.
Known errorsssh: command not foundssh is missing or is not available on PATH.
Verifyssh -J {{jumpUser}}@{{jumpHost}} {{user}}@{{host}}Re-run the corresponding read-only inspection and confirm the intended state.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01sshCommandRuns the ssh stage of this one-liner.
02-JOptionRoutes the SSH connection through the specified jump host.
03<jump-username>@ParameterA value supplied in the Fill parameters section.
04<jump-host>ParameterA value supplied in the Fill parameters section.
05<username>@ParameterA value supplied in the Fill parameters section.
06<host>ParameterA value supplied in the Fill parameters section.
Example input
ssh -J ops@bastion.example.com deploy@app01.internal
Example output
Last login: Wed Jul 23 10:21:07 2026 from 10.20.0.5
deploy@app01:~$
Illustrative output — exact values vary by system and data.
Official sources
Related commands