ssh_config `ProxyJump none` is not handled correctly
Author: Data5treamCreated Jan 20, 2026Updated Aug 10, 2026
LabelsFeatureNeeds changelog/docsReady to merge/rebasessh_config
Describe the bug
Setting the ssh_config ProxyJump option to the value none should deactivate the feature (and prevent later entries in the config from applying). This is currently not the case, none is treated like a hostname, breaking the connection.
Ref: https://man.openbsd.org/OpenBSD-current/man5/ssh_config.5#ProxyJump
To Reproduce Steps to reproduce the behaviour (please attach a minimal example):
- Setup a
ssh_configwith a Host that includesProxyJump none from fabric import Connection conn = Connection("host") if conn.gateway.host == "none": print("This should not happen")
Expected behaviour
Just like when using a normal ssh client, I expect ProxyJump none to disable the proxy jumping.
Source: fabric/fabric