Commit 0aface2d authored by huyuchen's avatar huyuchen

huych-工行回单下载

parent 925c274a
...@@ -1097,8 +1097,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn ...@@ -1097,8 +1097,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
// 创建会话 // 创建会话
session = jsch.getSession(username, host, port); session = jsch.getSession(username, host, port);
// 关闭严格的主机密钥检查(生产环境应配置known_hosts) // 关闭严格的主机密钥检查(生产环境应配置known_hosts)设置为no,已有公私钥验证
session.setConfig("StrictHostKeyChecking", "yes"); session.setConfig("StrictHostKeyChecking", "no");
// 连接会话 // 连接会话
session.connect(); session.connect();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment