Filezilla 无法连接 Dropbear SSH 服务器_意外的文件结束

Filezilla 无法连接 Dropbear SSH 服务器_意外的文件结束

我安装滴熊SSH 服务器高山操作系统
dropbear 配置:

DROPBEAR_OPTS=" -p 22 -K 9"

(p = 端口,K = 保持活动时间(秒))


现在我可以连接到 SSH 终端虚拟机

ssh [email protected]

但是我不能通过连接到服务器安全FTP


菲利兹拉调试级别设置3-详细输出:

Status: Connecting to 192.168.122.58...
    Trace:  Going to execute /usr/bin/fzsftp
Response:   fzSftp started, protocol_version=8
    Trace:  CSftpControlSocket::ConnectParseResponse(fzSftp started, protocol_version=8)
    Trace:  CSftpControlSocket::SendNextCommand()
    Trace:  CSftpControlSocket::ConnectSend()
Command:    open "[email protected]" 22
    Trace:  Server version: SSH-2.0-dropbear_2019.78
    Trace:  Using SSH protocol version 2
    Trace:  Doing ECDH key exchange with curve Curve25519 and hash SHA-256
    Trace:  Server also has ssh-dss/ssh-rsa host keys, but we don't know any of them
    Trace:  Host key fingerprint is:
    Trace:  ecdsa-sha2-nistp256 256 1c:c4:21:fb:3e:c6:a9:8e:48:5b:e3:b3:5e:ce:f8:e7 qZSD38O3128ChhxwkWGNXWdofKwQs6g3nWmxxHm5IcU=
    Trace:  Initialised AES-256 SDCTR client->server encryption
    Trace:  Initialised HMAC-SHA-256 client->server MAC algorithm
    Trace:  Initialised AES-256 SDCTR server->client encryption
    Trace:  Initialised HMAC-SHA-256 server->client MAC algorithm
    Trace:  Pageant is running. Requesting keys.
    Trace:  Pageant has 0 SSH-2 keys
Command:    Pass: ****
    Trace:  Sent password
    Trace:  Access granted
    Trace:  Opening session as main channel
    Trace:  Opened main channel
    Trace:  Started a shell/command
Status: Connected to 192.168.122.58
Error:  Received unexpected end-of-file from SFTP server <------------- HERE
    Trace:  CSftpControlSocket::OnTerminate without error
    Trace:  CSftpControlSocket::ResetOperation(66)
    Trace:  CControlSocket::ResetOperation(66)
Error:  Could not connect to server

答案1

Dropbear 不包含 sftp 守护进程。您还需要安装它。

我没有使用 Alpine,但谷歌搜索显示您需要的包看起来应该被称为openssh-sftp-server

相关内容