简体   繁体   English

节点 8.10 的 ssh2 有哪些替代方案?

[英]What alternatives are there to ssh2 for node 8.10?

I need to download a TXT file from a SFTP server, I used ssh2-sftp-client and it worked perfectly but our production server runs on node 8.10 and the dependency requires 10 or higher.我需要从 SFTP 服务器下载 TXT 文件,我使用了 ssh2-sftp-client,它运行良好,但我们的生产服务器在节点 8.10 上运行,并且依赖项需要 10 或更高。

Upgrading the node on the production server at this time is not an option, so I need an alternative to download the TXT file from the SFTP server that will work on node 8.10.此时升级生产服务器上的节点不是一种选择,因此我需要一个替代方法来从 SFTP 服务器下载 TXT 文件,该服务器将在节点 8.10 上运行。

Thank you very much in advance.非常感谢您提前。

I solved it using the version 2.5.2 of ssh2-sftp-client.我使用 ssh2-sftp-client 的 2.5.2 版本解决了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM