We are using node-red to transfer files to another server via sftp.
For that, we were using node-red-contrib-sftp (node) - Node-RED but this is now always only giving us "connecting" when we use the put function, without any debug or log output. (List and Get works)
We then tried another node (node-red-contrib-better-sftp (node) - Node-RED) and it even crashes the server with the following information in the log:
15 Sep 18:16:16 - [red] Uncaught Exception: 15 Sep 18:16:16 - [error] Error: : Connection ended unexpectedly by remote server at Object.formatError (/root/.node-red/node_modules/ssh2-sftp-client/src/utils.js:57:18) at Client.<anonymous> (/root/.node-red/node_modules/ssh2-sftp-client/src/index.js:1038:21) at Client.emit (node:events:513:28) at Socket.<anonymous> (/root/.node-red/node_modules/ssh2/lib/client.js:312:10) at Socket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) nodered.service: Main process exited, code=exited, status=1/FAILURE nodered.service: Failed with result 'exit-code'.
As both nodes are not working: might this be connected to any dependency which both nodes are using but which is not working or any linux problem?
The admin of the server where we want to put files on via ssh says that neither our user, nor the ip of the server where node red runs on is blocked.
With the same credentials, we are able to login using filezilla / putty or other programs.