Why long downloads files via ssh to the server?

Using ssh is always slow loading?
Download file 35,0 KiB (34 952 bytes) 2 minutes!!!!!!
Use https://www.npmjs.com/package/simple-ssh

console.log("start load: "+new Date());

ssh.exec('cat > /path/to/remote/file', {
 in: fs.readFileSync('/path/to/local/file'),
 exit: function(code) {
 console.log("final load: "+new Date());
}
}).start();
July 9th 19 at 13:55
1 answer
July 9th 19 at 13:57
The FTP Protocol is faster at least by the fact that unencrypted , and generally rsync power.

Find more questions by tags HTMLJavaScriptNode.jsnpmSSH