Closed luke-orden closed 7 years ago
Currently it is not possible to use a ssh key with a passphrase.
paramiko defines password as follows:
paramiko
password
password (str) – a password to use for authentication or for unlocking a private key
This change passes the password when using a private key allowing the use of a passphrase protected private key.
Coverage decreased (-0.1%) to 78.2% when pulling 3d9bf7d93b261c2ad0badd6d16fc898516abedab on loverend:pass_password_ssh_key into 6dd35460b9c082f4d28b7257378f4ea87e726da0 on napalm-automation:develop.
Currently it is not possible to use a ssh key with a passphrase.
paramiko
definespassword
as follows:This change passes the password when using a private key allowing the use of a passphrase protected private key.