简体   繁体   English

如何设置Mule ESB SFTP侦听器

[英]How to setup Mule ESB SFTP listener

How do I setup an SFTP (ssh) listener on Mule ESB (CE)? 如何在Mule ESB(CE)上设置SFTP(ssh)侦听器?

I could only find the HTTP(S) listener) 我只能找到HTTP(S)侦听器)

Thank you for any hints 谢谢你的提示

There is no separate connector same connector can be used for username-password and publickey . 没有单独的连接器,同一连接器可用于username-passwordpublickey Please refer preferredAuthenticationMethods attribute for more details. 请参考preferredAuthenticationMethods属性以获取更多详细信息。 Configuration will be like 配置会像

<sftp:connector name="SFTP" identityFile="ppkOrpemfile_path" preferredAuthenticationMethods="publickey" validateConnections="true" doc:name="SFTP"/>
<flow name="testSFTP_flow">
    <sftp:inbound-endpoint connector-ref="SFTP" host="host" port="22"  responseTimeout="10000" doc:name="SFTP"/>
</flow>

Hope this helps. 希望这可以帮助。

Try to find out wrapper.conf file from your server's conf folder. 尝试从服务器的conf文件夹中找出wrapper.conf文件。 Modify the port no 修改端口号

wrapper.java.additional.=-Dmule.mmc.bind.port=7779 wrapper.java.additional。=-Dmule.mmc.bind.port = 7779

MuleESB/ Mule Runtime is not SFTP server. MuleESB / Mule Runtime不是SFTP服务器。 All you can do is using mule SFTP connector pull and push the files (SFTP Client). 您所能做的就是使用Mule SFTP连接器拉并推文件(SFTP客户端)。 If you are looking for SFTP server need to host. 如果您正在寻找SFTP服务器需要托管。 If your partner company have option to send data over HTTP(S) you could use mule HTTP Listener. 如果您的合作伙伴公司可以选择通过HTTP(S)发送数据,则可以使用Mule HTTP Listener。

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

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