如何通过 sshfs 使用 arcfour 加密?

如何通过 sshfs 使用 arcfour 加密?

我的 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 挂载这表明了相同的方法。

相关内容