Jump Host / ProxyJump
Jump Host support allows the plugin to reach the target SSH server through another SSH server (bastion host) without using external ssh.exe.
How it works
- TCP connect to the jump host
- SSH handshake and authentication on the jump host
- Open a direct TCP tunnel to the target host using SSH direct-tcpip
- Run the normal target SSH session over that tunnel
Use case: Servers reachable only from a bastion/jump machine, common in segmented internal networks and production environments.
When to use Jump Host
- Use it only with SSH (SFTP/SCP)
- Do not use it with PHP Agent
- Do not use it with PHP Shell
- Do not use it with LAN Pair
Main dialog behavior
- Use jump host, the jump-host list and Jump... are enabled only when Transfer = SSH (SFTP/SCP)
- For PHP and LAN Pair modes these controls are intentionally disabled
- Jump-host settings remain stored in the profile even when the controls are currently disabled
Manual settings or a saved session
The list next to Jump host: decides where the bastion's settings come from:
- (manual) - this session's own jump-host settings, entered in Jump...
- a saved session - that session's host, user and keys are used, so editing it once updates every session that jumps through it. Jump... then shows them read-only and names the session they come from. Picking a session also turns Use jump host on.
- [!] name (missing) - the referenced session no longer exists, because it was removed outside the plugin (by editing
sftpplug.ini, say); the connection is refused rather than made straight to the target, until another entry is picked
A referenced session must reach the bastion directly: one that has a jump host of its own is refused, since chained jump hosts are not supported. Renaming or moving the referenced session inside the plugin keeps the reference valid.
Jump Host settings
- Host - bastion hostname or IP
- Port - usually 22
- User - jump-host account
- Password - jump-host password, if used
- Public/Private key - separate key material for the jump host
- Use SSH agent (Pageant) - optional jump-host authentication via Pageant
Two independent authentication layers
Jump Host and target server are separate SSH identities:
- the jump host can use one user/key/password
- the target host can use another user/key/password
- each side has its own fingerprint verification
Fingerprint handling
- Target host fingerprint is handled as usual
- Jump host fingerprint is stored separately as
jumpfingerprint
- On first use or fingerprint change, the plugin asks for confirmation
INI keys
Typical profile keys:
[MyServer]
usejumphost=1
jumphost=bastion.example.com
jumpport=22
jumpuser=ops-user
jumppubkeyfile=C:\Keys\bastion.pub
jumpprivkeyfile=C:\Keys\bastion.ppk
jumpuseagent=1
jumpfingerprint=SHA256:...
With a saved session as the jump host, the profile carries jumpsessionref=<session name> and the session's own jump* keys are not used.
Requirements and limits
- The jump host must allow direct TCP forwarding / direct-tcpip channels
- A normal non-root user is sufficient if the SSH server allows this feature
- Classic HTTP/SOCKS proxies and Jump Host are different layers; do not treat them as the same thing
Failure cases
- Jump host reachable, target unreachable from bastion
- Authentication works on bastion, but direct-tcpip is disabled by server policy
- Saved jump-host fingerprint changed
- Wrong jump-host credentials with correct target credentials (or the reverse)
Back to index