Open crh3675 opened 9 years ago
After some trials of not getting the privateKey to work, we finally found that we need to initialize this library using:
var scp = require('scp2'); var client = new scp.Client({ host : config.sshHost port : config.sshPort, username : config.sshUser, privateKey : config.sshPrivatekey });
This was rather unclear in the documentation and is recommended to be updated.
@crh3675 thanks for your feedback. Could you update the documentation and send a pr here?
After some trials of not getting the privateKey to work, we finally found that we need to initialize this library using:
This was rather unclear in the documentation and is recommended to be updated.