Closed brendanjerwin closed 9 years ago
Using this form:
client.scp({ host: 'example.com', username: 'admin', password: 'password', path: '/home/admin/file.txt' }, './', function(err) {})
It seems that the ssh connection is staying open. No problem when copying from the client to the server though, but I see they take two different code paths.
Using this form:
It seems that the ssh connection is staying open. No problem when copying from the client to the server though, but I see they take two different code paths.