1
当我在织物运行的命令,像这样:如何禁用/禁用“paramiko.transport”公钥注册失败/登录Fabric密码登录?
with settings(hide('everything'),
host_string='myserver',
shell='/bin/sh -c',
no_keys=True,
user='root',
password='root'):
ret = run(cmd)
我看到以下内容:
2015-09-25 11:39:10 [paramiko.hostkeys] INFO: Unable to handle key of type ecdsa-sha2-nistp521
2015-09-25 11:39:10 [paramiko.hostkeys] INFO: Unable to handle key of type ecdsa-sha2-nistp521
2015-09-25 11:39:10 [paramiko.transport] INFO: Connected (version 2.0, client OpenSSH_6.6.1_hpn13v11)
2015-09-25 11:39:10 [paramiko.transport] INFO: Authentication (publickey) failed.
2015-09-25 11:39:10 [paramiko.transport] INFO: Authentication (password) successful!
如何从尝试登录时使用的键停止面料?