spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
384 stars 96 forks source link

Is node-scp2 implementing sftp instead of scp? #140

Open ChristianSchwarzIAV opened 3 years ago

ChristianSchwarzIAV commented 3 years ago

I tried node-scp2 to copy files to an embedded evice that only supports scp but not sftp. I alwas get an error immediatly after connect: exit code 127. This indicates that the server doesn't support sftp, but expected that node-scp2 doesn't use the sftp-protocol but rather like the name implies scp. Do I need to configure the lib to use scp? Do it support scp, anyway?