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

Allow ssh agent usage for junos_netconf
This commit is contained in:
Peter Sprygada 2016-05-18 07:54:59 -04:00
commit 48aa9153f2

View file

@ -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))