Merge pull request #15755 from ocadotechnology/fix-junos-netconf-ssh-agent

Allow ssh agent usage for junos_netconf
pull/15913/head
Peter Sprygada 9 years ago
commit 48aa9153f2

@ -95,7 +95,7 @@ class Cli(object):
try:
self.shell = Shell()
self.shell.open(host, port=port, username=username, password=password, key_filename=key_filename)
self.shell.open(host, port=port, username=username, password=password, key_filename=key_filename, allow_agent=True)
except ShellError:
e = get_exception()
msg = 'failed to connect to %s:%s - %s' % (host, port, str(e))

Loading…
Cancel
Save