Ssh
Filezilla 無法連接 Dropbear SSH 伺服器 _ 意外的文件結束
我在Alpine OS dropbear 配置中安裝了dropbear SSH 伺服器:
DROPBEAR_OPTS=" -p 22 -K 9"
( p = port , K = keep-alive in seconds)
現在我可以連接到KVM中的 SSH 終端
ssh root@192.168.122.58
但我無法通過****SFTP
Filezilla調試級別設置為3-Verbose連接到伺服器輸出:
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 "root@192.168.122.58" 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
Dropbear 不包含 sftp 守護程序。您還需要安裝它。
我不使用 Alpine,但Google搜尋使它看起來像你需要的包將被稱為
openssh-sftp-server
.