Skip to content
This repository has been archived by the owner on Feb 10, 2018. It is now read-only.

Commit

Permalink
Merge pull request #223 from loverend/pass_password_ssh_key
Browse files Browse the repository at this point in the history
Pass password when using ssh key
  • Loading branch information
mirceaulinic authored Oct 24, 2017
2 parents 9444206 + 3d9bf7d commit 78c0d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions napalm_junos/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
if self.key_file:
self.device = Device(hostname,
user=username,
password=password,
ssh_private_key_file=self.key_file,
ssh_config=self.ssh_config_file,
port=self.port)
Expand Down

0 comments on commit 78c0d16

Please sign in to comment.