diff options
author | Ryan McGeary <ryan@mcgeary.org> | 2017-02-07 22:31:06 -0700 |
---|---|---|
committer | Miklos Fazekas <mfazekas@szemafor.com> | 2017-02-10 19:23:40 +0100 |
commit | daa5621bc4e43ca06aac08f045f0e94f3a410937 (patch) | |
tree | d7364f62ed9ab4f985907dc8d3c3d89a0e2aecd8 /test/test_config.rb | |
parent | 4ae3bb582b93787de0b7c91301318bf13b9c7012 (diff) | |
download | net-ssh-daa5621bc4e43ca06aac08f045f0e94f3a410937.tar.gz |
Add support for parsing ProxyJump OpenSSH configuration setting
Diffstat (limited to 'test/test_config.rb')
-rw-r--r-- | test/test_config.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_config.rb b/test/test_config.rb index 2969990..a5c53a8 100644 --- a/test/test_config.rb +++ b/test/test_config.rb @@ -269,6 +269,12 @@ class TestConfig < NetSSHTest assert net_ssh[:proxy] end + def test_load_with_proxy_jump + config = Net::SSH::Config.load(config(:proxy_jump), "behind-proxy") + net_ssh = Net::SSH::Config.translate(config) + assert net_ssh[:proxy] + end + def test_load_with_include_keyword config = Net::SSH::Config.load(config(:include), "xyz") net_ssh = Net::SSH::Config.translate(config) |