Open shinkhouse opened 4 years ago
Thanks for the issue @shinkhouse
I do not see an obvious bug here, it seems to be in order. One nit tho is that node-ssh
supports file paths to private keys, so instead of reading contents, you can just feed it a path and it'll read the contents itself
Hi there,
I'm trying to use your library to connect to a server via ssh but having some trouble. I'm stumbling on the
Error: All configured authentication methods failed
error message. However, when I try to connect with using ssh2 library by itself, it has no issue.This example is how I connect using ssh2 library...
This example is how I'm trying to use node-ssh. I also had an issue with the privateKey not being a string but it connects fine in first example without toString() method.
I'm aware this error is common in Linux, but seems to only happen after I use this library. Could you point me in the right direction?