我正在尝试在两台服务器之间使用python建立ssh连接。但是面对paramiko错误的问题吗?有人可以解决这个问题吗?
这些是错误。
File "/home/ubuntu/.local/lib/python2.7/site-packages/paramiko/client.py", line 446, in connect
passphrase,
File "/home/ubuntu/.local/lib/python2.7/site-packages/paramiko/client.py", line 764, in _auth
raise saved_exception
paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: [u'publickey']