>_ RESTERM
v1.18.2

examples Your own servers

ssh.http

SSH jump profiles and per-request overrides.

needs your own SSH host

shell
resterm _examples/ssh.http

Run this from the root of a clone of the Resterm repository.

Editor
## SSH jump examples

### Global profile and request override
# @ssh global edge host=env:SSH_JUMP user=ops key=~/.ssh/id_ed25519 persist timeout=20s keepalive=10s
# @global api_host http://10.0.0.10

# @name list over jump
# @ssh use=edge host={{api_host}} strict_hostkey=false
GET http://{{api_host}}/v1/things

### Inline request-scoped jump
# @name create via jump
# @ssh request host=192.168.1.50 user=svc password=env:SSH_PW timeout=12s
POST http://internal.service/api
Content-Type: application/json

{
  "name": "resterm-ssh",
  "ts": "{{$timestampISO8601}}"
}

_examples/ssh.http on GitHub

SSH tunnels docs
Search

↑↓ moveEnter openEsc close

Help

These keys work like the ones in the TUI.

/
Search the docs (also Ctrl K)
j k
Scroll down and up
g g G
Jump to the top or the bottom
[ ]
Previous and next page
g d
Docs index
g h
Home page
t
Switch between dark and light
?
Show this help
Esc
Close a dialog