Hi there,
thank you for your awesome package. Since I just finished a fancy google session why
privateKey: fs.readFileSync('~/.ssh/id_rsa')
is throwing an error:
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
Maybe you can add a small comment on this line in your readme example that node is very bitchy when it comes to relative paths.
privateKey: fs.readFileSync(${process.env.HOME}/.ssh/id_rsa`)
solved the issue for me.
Greetings
Christopher