Closed mati-fp closed 1 year ago
This is a known issue with the ssh2 library. Basically, RSA key format is not supported. You need to use a different key, such as ed25519. Lots more can be found about this in the issues on the ssh2 repository.
As this is an ssh2 library limitation and cannot be addressed in this module, closing this issue.
Every time i try to connect in a server via sftp i getting that my RSA key is in an unsupported key format and cannot parse, what can i do to change that?
------ Code here ---------------
---- Error here -------------
Error: connect: Cannot parse privateKey: Unsupported key format