diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index 2428755..363192d 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -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)