【发布时间】:2020-04-28 19:40:47
【问题描述】:
我们已成功通过端口 22 使用 SFTP 进行连接。目标服务器正在更改为使用端口 6022,并且 SFTP 连接失败。
我们可以使用 Filezilla 通过端口 6022 上的 SFTP 成功连接。
如果我们回到 22 端口,Chilkat 就可以工作。
我们使用的是最新版本的 ActiveX dll。
请注意:我不熟悉 SFTP 的详细信息及其工作原理。
这是连接尝试返回的日志:
The FSC SFTP connection to download files failed for /Targetfolder/. Verify IP address for the connection. The Chilkat message is ChilkatLog:
Connect_SFtp:
DllDate: Feb 24 2020
ChilkatVersion: 9.5.0.82
UnlockPrefix: OURSSH
Architecture: Little Endian; 32-bit
Language: ActiveX
VerboseLogging: 0
SftpVersion: 0
hostname: targetserver.com
port: 6022
connectInner:
sshConnect:
connectSocket:
connect_ipv6_or_ipv4:
Connection attempt failed.
maxWaitTimeMs: 20000
totalMsWaitedSoFar: 16800
--connect_ipv6_or_ipv4
--connectSocket
Failed to establish initial TCP/IP connection
hostname: targetserver.com
port: 6022
--sshConnect
--connectInner
Failed.
--Connect_SFtp
--ChilkatLog
【问题讨论】: