For AI agents: the complete documentation index is available at https://www.jumpserver.com/docs/llms.txt, the full documentation bundle is available at https://www.jumpserver.com/docs/llms-full.txt, and this page is available as Markdown at https://www.jumpserver.com/docs/features/workbench/ssh-terminal.md.
๐ŸŽ‰ JumpServer v5.1.1 is available. See what's new โ†’

SSH Terminal

The SSH Terminal lets you open JumpServer from a standard terminal client instead of a browser. After you sign in to JumpServer, KoKo presents your authorized assets and accounts in an interactive menu, then proxies the selected session through the same authorization, policy, and audit pipeline as the Web Terminal.

This is different from Application > SSH Client. That method launches a local SSH client for one asset from the Web Terminal. SSH Terminal connects to JumpServer itself and lets you choose the asset and account from the terminal.

Prerequisites

  • Your JumpServer user is enabled and can sign in.
  • At least one asset and account are authorized for your user.
  • The SSH client port 2222 is reachable from your computer. See Network Ports.
  • Your terminal has an SSH client. Linux, macOS, Windows 10/11, and most terminal emulators include one.
  • If your administrator enabled MFA, login confirmation, or SSH-key-only login, complete that step when prompted.

Connect from a terminal

Run the command with your JumpServer account and the JumpServer host:

ssh <jumpserver-username>@<jumpserver-host> -p 2222

For example:

ssh [email protected] -p 2222

On the first connection, verify the host key fingerprint and confirm it:

The authenticity of host '[jumpserver.example.com]:2222' ... can't be established.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Then enter your JumpServer password, not the password of the asset account:

[email protected]'s password:

If the administrator allows SSH keys for your user, you can use a key instead:

ssh -i ~/.ssh/id_ed25519 [email protected] -p 2222

Interactive asset menu

After login, KoKo displays a welcome message and a numbered shortcut menu. The exact wording follows the interface language selected for your user, and the prompt is Opt>.

SSH Terminal shortcut menu

InputAction
/192.168Search assets by IP, hostname, or comment
pDisplay all assets you can access
gDisplay the authorization tree
cDisplay the asset type tree
fDisplay the favorites tree
sChange the interface language
tSwitch to TUI mode
?View help
qEnd the SSH session

When you display an asset list, KoKo shows a table with No., Name, Address, Platform, Organization, and Remarks columns. Enter the number of the asset to select it:

SSH Terminal asset list

No.  Name            Address         Platform    Organization  Remarks
1    172.19.0.10     172.19.0.10     Linux       DEFAULT
2    jms_postgresql  jms_postgresql  PostgreSQL  DEFAULT

If an asset has multiple authorized accounts, KoKo shows an account table with No., Name, and Username columns. Enter the account number to continue. Use b or back to return to the asset list.

SSH Terminal account selection

The session opens as a terminal connection. When you exit the remote shell, the proxied session ends. If you return to the JumpServer menu instead, select another asset or enter q to exit.

Advanced: direct asset login

If you already know the asset and account, you can put them in the SSH username. KoKo supports these forms:

# Default to the SSH protocol
ssh <jumpserver-user>@<asset-account>@<asset-address> -p 2222

# Specify the protocol explicitly
ssh <jumpserver-user>@<protocol>@<asset-account>@<asset-address> -p 2222

For example, to open an SSH account named ubuntu on 172.19.0.10:

ssh admin@[email protected] -p 2222

The # separator is also accepted:

ssh 'admin#ssh#ubuntu#172.19.0.10' -p 2222

Direct login still requires your JumpServer password and still applies authorization and ACL checks. If the asset or account is ambiguous, use the interactive menu instead.

Troubleshooting

SymptomCheck
Connection refused or timeoutConfirm 2222 is open and KoKo is running
Permission deniedVerify the JumpServer username, password, MFA, and login restrictions
Login succeeds but the asset list is emptyConfirm the asset is authorized for your user and organization
Direct asset login reports no matchCheck the asset address, account username, and protocol
Host key warning after a server changeVerify the new fingerprint with your administrator before accepting it
Session disconnects unexpectedlyCheck the session idle timeout and network connection
  • Access Assets โ€” browse authorized assets in the Workbench
  • Web Terminal โ€” browser-based terminal and remote desktop
  • Network Ports โ€” firewall requirements for SSH client access