We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb54b1e commit 6e78eceCopy full SHA for 6e78ece
scp.js
@@ -34,6 +34,8 @@ scp.get = function (options, cb) {
34
var command = [
35
'scp',
36
'-r',
37
+ '-P',
38
+ (options.port == undefined) ? '22' : options.port),
39
(options.user == undefined ? '' : options.user+'@') + options.host + ':' + options.file,
40
options.path
41
];
0 commit comments