另一个 "gnutls_handshake: A TLS packet with unexpected length was received." 而 lftp

yet another "gnutls_handshake: A TLS packet with unexpected length was received." while lftp

我尝试设置如下:

设置ftp:initial-保护“” 设置 ftp:ssl-强制为真 设置 ftp:ssl-保护数据为真 设置 ftp:ssl-auth TLS

我正在使用 RHEL4 尝试通过 lftp 连接到 2010 Windows 服务器,但我得到

致命错误:gnutls_handshake:收到了长度意外的 TLS 数据包。

你能告诉我现在缺少什么吗?

您可以尝试 set ftp:ssl-auth SSL 或调整 ssl:priority 设置以匹配服务器的功能。