Closed aluminium1989 closed 8 years ago
Will setting IdentityFile resolve this problem? No, it does not help
Here is config example:
var config = {
host: '192.168.0.21',
port: 22,
username: 'iojs',
privateKey: fs.readFileSync('/Users/zensh/.ssh/id_rsa')
}
var gulpSSH = new GulpSSH({
ignoreErrors: false,
sshConfig: config
})
Why didn't you read README?
This lib didn't parse config file, you should parse it by yourself.
My config example:
Host home HostName home Port xxxx User xxxx
Authentication by public key.