-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Request to support encrypted private keys. Current behavior is to ask for a password and then send you back to the hosts menu. Seems that the password is not used to decrypt the private key.
Checking the logs and I see this:
2020-09-26 16:58:18,022 - ERROR - Core: Invalid Private Key for user user : private key file is encrypted
2020-09-26 16:58:21,792 - INFO - Connected (version 2.0, client OpenSSH_7.4)
2020-09-26 16:58:21,889 - ERROR - SSHClient:: error authenticating :
2020-09-26 16:58:21,889 - INFO - Core: Finished session UUID for user user to host hostname
2020-09-26 16:58:22,004 - ERROR - Sniffer: close session files error coercing to Unicode: need string or buffer, NoneType found
I can confirm that the key works otherwise in a normal shell from the same user to the same host.
[user@aker ~]$ ssh user@hostname
Enter passphrase for key '/home/user/.ssh/id_rsa':
Last login: Sat Sep 26 16:57:50 2020 from aker.FQDN
[user@target-host ~]$