我有 paramiko 2.7.2 和 OpenSSH_7.9p1。每当我尝试任何事情时,我都会遇到同样的错误:
SSHException: Incompatible ssh server (no acceptable ciphers)
据我了解,一切都应该工作正常,因为我在中定义了我的密码sshd_配置和ssh_配置。
sshd_配置:
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
ssh_配置:
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
ssh -Q 密码:
3des-cbc
aes128-cbc
aes192-cbc
aes256-cbc
[email protected]
aes128-ctr
aes192-ctr
aes256-ctr
[email protected]
[email protected]
[email protected]
paramiko.Transport._preferred_ciphers:
('aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'aes128-cbc', 'aes192-cbc', 'aes256-cbc', 'blowfish-cbc', '3des-cbc')
我能做些什么来让它发挥作用?