我的 Raspbian Raspberry Pi 最近更新导致 arcfour sshfs 失败。
来自客户:
$ sshfs pi:~ /tmp/alskdjflkasdf/ -o Ciphers=arcfour
read: Connection reset by peer
Run Code Online (Sandbox Code Playgroud)
在服务器上/var/log/auth.log
:
Oct 23 22:13:58 raspberrypi sshd[5909]: fatal: no matching cipher found: client arcfour server aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com [preauth]
Run Code Online (Sandbox Code Playgroud)
如何重新启用 arcfour?
似乎服务器不想允许它基于auth.log
. 我会尝试arcfour
重新添加到 SSH 服务器的sshd_config
文件中。从sshd_config
手册页:
Ciphers
Specifies the ciphers allowed for protocol version 2. Multiple
ciphers must be comma-separated. The supported ciphers are
“3des-cbc”, “aes128-cbc”, “aes192-cbc”, “aes256-cbc”, “aes128-ctr”,
“aes192-ctr”, “aes256-ctr”, “aes128-gcm@openssh.com”,
“aes256-gcm@openssh.com”, “arcfour128”, “arcfour256”,
“arcfour”, “blowfish-cbc”, and “cast128-cbc”. The default is:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,
aes128-gcm@openssh.com,aes256-gcm@openssh.com,
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,
aes256-cbc,arcfour
Run Code Online (Sandbox Code Playgroud)
顺便说一句,据-o Ciphers=arcfour
我所知,您的开关没有任何问题。我什至发现这个 SU 问答题为:sshfs mount without compression or encryption显示了相同的方法。
归档时间: |
|
查看次数: |
15245 次 |
最近记录: |