Hello everyone,
I'm trying to import a couple of keys from PuttyGen (exported private key and public key from PuttyGen) but I keep getting an error.
The private Key I use is the one from "Export OpenSSH Key" and has a format like:
Code
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,5FEA76B59894B00C
[Content]
-----END RSA PRIVATE KEY-----
The public key instead comes from "Public key for pasting into OpenSSH authorized_keys file" and has a format like:
Despite that I keep getting the following error:
Code
Invalid private key: error:0906A068:PEM routines:PEM_do_header:bad password read
Error #6000:
exception 'OMVException' with message 'Invalid private key: error:0906A068:PEM routines:PEM_do_header:bad password read' in /usr/share/openmediavault/engined/rpc/certificatemgmt.inc:552
Stack trace:
#0 [internal function]: OMVRpcServiceCertificateMgmt->setSsh(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setSsh', Array, Array)
#3 /usr/sbin/omv-engined(500): OMVRpc::exec('CertificateMgmt', 'setSsh', Array, Array, 1)
#4 {main}
Alles anzeigen
Can I kindly ask for some directions please?
Thank you.
Best regards,