homebridge-ssh icon indicating copy to clipboard operation
homebridge-ssh copied to clipboard

Error: Cannot parse privateKey: Unsupported key format

Open gabevf opened this issue 1 year ago • 0 comments

What is the correct key format, and where should it be located?

I've tried ED25519 and RSA, and I keep getting the same errors:

Error: Cannot parse privateKey: Unsupported key format at Client.connect (/var/lib/homebridge/node_modules/homebridge-ssh/node_modules/ssh2/lib/client.js:146:13) at connect (/var/lib/homebridge/node_modules/homebridge-ssh/node_modules/ssh-exec/index.js:53:12) at /var/lib/homebridge/node_modules/homebridge-ssh/node_modules/ssh-exec/index.js:109:7 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

They're currently located at /home/homebridge/.ssh/ is that the proper location for these??

gabevf avatar Oct 01 '23 00:10 gabevf