summaryrefslogtreecommitdiff
path: root/paramiko/config.py
diff options
context:
space:
mode:
authorBruno Inec <7051978+sweenu@users.noreply.github.com>2021-12-16 12:56:46 +0100
committerGitHub <noreply@github.com>2021-12-16 12:56:46 +0100
commitab335cdab8d6dc218e5d8658c3b32f4e7d0d74e5 (patch)
tree4ae538e87eed897f1d4b7a7344b52d450687aef7 /paramiko/config.py
parent14fd03ec45fed0546aa01b1ef5ccf84508680e02 (diff)
downloadparamiko-ab335cdab8d6dc218e5d8658c3b32f4e7d0d74e5.tar.gz
Parse tokens in ProxyJump
This way, ProxyJump parsing can be implemented by higher-level clients with the benefits of tokens being already parsed.
Diffstat (limited to 'paramiko/config.py')
-rw-r--r--paramiko/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/config.py b/paramiko/config.py
index e6877d01..ba1f38c3 100644
--- a/paramiko/config.py
+++ b/paramiko/config.py
@@ -63,6 +63,7 @@ class SSHConfig(object):
"hostname": ["%h"],
"identityfile": ["~", "%d", "%h", "%l", "%u", "%r"],
"proxycommand": ["~", "%h", "%p", "%r"],
+ "proxyjump": ["~", "%h", "%p", "%r"],
# Doesn't seem worth making this 'special' for now, it will fit well
# enough (no actual match-exec config key to be confused with).
"match-exec": ["%d", "%h", "%L", "%l", "%n", "%p", "%r", "%u"],