Open FallenRiteMonk opened 8 years ago
running the command scp2 -p 1234 localfile server throws:
scp2 -p 1234 localfile server
{ [Error: connect ECONNREFUSED SERVER-IP] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: 'SERVER-IP', port: 22, level: 'client-socket' }
notice that the port on the error is still 22 and not 1234 as specified
Solved here : https://github.com/spmjs/node-scp2/pull/82 Hope it work well :) Please, tell me if it work :) Thank you.
running the command
scp2 -p 1234 localfile server
throws:notice that the port on the error is still 22 and not 1234 as specified