![如何通过 sshfs 使用 arcfour 加密?](https://linux22.com/image/58052/%E5%A6%82%E4%BD%95%E9%80%9A%E8%BF%87%20sshfs%20%E4%BD%BF%E7%94%A8%20arcfour%20%E5%8A%A0%E5%AF%86%EF%BC%9F.png)
我的 Raspbian Raspberry Pi 最近更新导致 arcfour sshfs 失败。
来自客户:
$ sshfs pi:~ /tmp/alskdjflkasdf/ -o Ciphers=arcfour
read: Connection reset by peer
在服务器上/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,[email protected],[email protected],[email protected] [preauth]
如何重新启用 arcfour?
答案1
似乎服务器不想根据 的输出允许它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”, “[email protected]”,
“[email protected]”, “arcfour128”, “arcfour256”,
“arcfour”, “blowfish-cbc”, and “cast128-cbc”. The default is:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,
[email protected],[email protected],
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,
aes256-cbc,arcfour
-o Ciphers=arcfour
顺便说一下,据我所知,你的开关没有任何问题。我什至发现这个 SU Q&A 的标题是:不压缩或加密的 sshfs 挂载这表明了相同的方法。