我计划使用 WinSCP 将文件发送到 SFTP 服务器(Tumbleweed)的一个进程。
它的 99.5% 的时间都是有效的。
0.5% 的时间,登录失败并且 WinSCP 报告:
Server refused public-key signature despite accepting key
WinSCP 日志摘录:
! 2013-04-07 12:05:18.913 Using username "XXXXXX".
. 2013-04-07 12:05:18.928 Offered public key
. 2013-04-07 12:05:19.460 Offer of public key accepted
! 2013-04-07 12:05:19.460 Authenticating with public key "XXXXXXXXX"
. 2013-04-07 12:05:19.491 Sent public key signature
! 2013-04-07 12:05:19.491 Server refused public-key signature despite accepting key!
. 2013-04-07 12:05:19.491 Server refused public-key signature despite accepting key!
. 2013-04-07 12:05:19.491 Attempting keyboard-interactive authentication
服务器未记录任何错误:
2013-04-07 12:05:19,816 DEBUG [SSHD-TRANSFER-1] com.tumbleweed.st.server.sshd.SSHSession - Adding session xxxxxxx. Session count: 0
2013-04-07 12:05:19,816 DEBUG [SSHD-TRANSFER-1] com.tumbleweed.st.server.events.AgentSession - Created unique session ID: xxxxxx
2013-04-07 12:05:19,816 DEBUG [SSHD-TRANSFER-1] com.tumbleweed.st.server.sshd.PublicKeyStoreImpl - invoke cert agent
2013-04-07 12:05:20,350 DEBUG [SSHD-TRANSFER-1] com.tumbleweed.st.server.sshd.PublicKeyStoreImpl - cert agent success [username=xxxxxx]
2013-04-07 12:05:20,386 DEBUG [SSHD-TRANSFER-1] com.tumbleweed.st.server.sshd.PublicKeyStoreImpl - User "xxxxx" logged in with cached key.
我该如何诊断/解决这个问题?