Skip to content

support for proxy_command parameter#1401

Open
chidanandpujar wants to merge 3 commits intoJuniper:masterfrom
chidanandpujar:proxycommand
Open

support for proxy_command parameter#1401
chidanandpujar wants to merge 3 commits intoJuniper:masterfrom
chidanandpujar:proxycommand

Conversation

@chidanandpujar
Copy link
Copy Markdown
Collaborator

prox_command parameter support

regress@masterhost:~/junos_eznc_proxy$ cat test.py 
from jnpr.junos import Device

dev = Device(
    host="xx.xx.xx.xx",
    user="user1",
    port=22,
    ssh_private_key_file="~/.ssh/id_rsa",
    proxy_command="ssh -W %h:%p -q user1@xx.xx.xx.xx",
)
dev.open()
print(dev.facts)
dev.close()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant