我有一个脚本出现了错误,我已经写了几个月了,它在树莓派上运行得非常好,但是现在在橙色的pi上出现了这个问题:
>>> import paramiko
>>> transport = paramiko.Transport("192.168.2.2", 22)
>>> transport.connect(username = "orangepi", password = "my_pass")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 978, in connect
self.start_client()
File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 406, in start_client
raise e
paramiko.ssh_exception.SSHException: Incompatible ssh server (no acceptable macs)
我可以在控制台上使用ssh连接,没有问题。
有什么想法吗?
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
我会尝试将其取消注释。谢谢。 - Guillaume