Campus SSH Jumpbox: User Guide


Table of contents

This guide provides instructions for using the Campus SSH jumpbox to access internal hosts securely and manage sessions effectively. This resource is designed for use on the Policy Driven Network to enable SSH access to other resources. Please read these instructions carefully to ensure proper usage and avoid connectivity issues.

What is an SSH Jumpbox?

An SSH jumpbox acts as an intermediate server, controlling access between two networks. In this case, the campus SSH jumpboxes are controlling SSH into the policy-driven network. SSH connections to hosts on the policy-driven network must originate from the campus SSH jumpboxes. Otherwise, the connection will be blocked.

The campus SSH jumpboxes are not intended to be used as general-purpose login systems. As such, no files can be stored on these servers. Additionally, login shells are not provided. This means that users cannot run commands, scripts, or interactive sessions on the jumpboxes themselves. When a user connects to a jumpbox, the connection is immediately and securely forwarded (or tunneled) to the appropriate destination host inside the policy-driven network.

Top

Accessing the Jumpbox Servers

You must be granted permission to access the Campus SSH Jumpbox servers. Please review the Campus SSH Jumpbox: Access and Administration guide to request access.

Top

Logging into the Jumpbox

NOTE: You must be connected to the VPN to access the Campus SSH Jumpbox.

Top

Using the Captive prompt

The jumpbox will display a prompt:

Top

Using SSH/SCP passthrough

You can connect directly to a target host via the jumpbox using SSH or SCP passthrough. This bypasses the captive prompt.

Top

Managing sessions on the Target Host

Use screen or tmux on your target machine to maintain long-lived sessions and avoid data loss from disconnections. These utilities allow you to maintain persistent sessions, so long-running tasks continue even if your connection drops.

Using screen

Using tmux

Top

Summary of commands

Summary of commands
Action Command
Connect to the jumpbox ssh [directory-id]@campus-jump.umd.edu
Connect via SSH passthrough ssh -J [directory-id]@campus-jump.umd.edu [directory-id]@[hostname]
Copy via SCP passthrough scp -o ProxyJump=campus-jump.umd.edu [filename] [directory-id]@[destination]:[destination-path]
Start a screen session screen -S [session-name]
Detach from screen Ctrl + A, then D
Resume a screen session screen -r [session-name]
Start a tmux session tmux new -s [session-name]
Detach from tmux Ctrl + B, then D
Resume a tmux session tmux attach -t [session-name]

Top