[root@guang-zhou-zabbix-5 patrol]# python test.py
No handlers could be found for logger "paramiko.transport"
Traceback (most recent call last):
File "test.py", line 12, in
ssh_client.connect(hostname=ip,username=username,password=password)
File "/usr/lib/python2.7/site-packages/paramiko/client.py", line 338, in connect
t.start_client(timeout=timeout)
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 500, in start_client
raise e
ValueError: p must be exactly 1024, 2048, or 3072 bits long
报错日志发过来看看