You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2022. It is now read-only.
I am getting this error when I try to connect with server using a ssh key.
(node:13393) UnhandledPromiseRejectionWarning: Error: Cannot parse privateKey: Unsupported key format
at Client.connect (/node_modules/ssh2/lib/client.js:146:13)
at Client.sftp (/node_modules/scp2/lib/client.js:99:7)
at Client.download (/node_modules/scp2/lib/client.js:289:8)
at cp2local (/node_modules/scp2/lib/scp.js:84:10)
at Client.exports.scp (/node_modules/scp2/lib/scp.js:102:5)
at createUserCertificate (/app/controllers/user-migration.js:203:10)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Looking for more info about this error, I guess you must to add a new property for ask which ssh key formar are using. Take a look at this documentation: