1
votes
ssh = client.SSHClient()

paramiko. util. log_to_file ( 'paramiko.log ') 

ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())

ssh.connect(server,port=22, username=username, password=password, look_for_keys=False)

Executing this script shows below error message

File "C:\Python27\lib\site-packages\paramiko-2.0.1-py2.7.egg\paramiko\client.p y", line 338, in connect t.start_client() File "C:\Python27\lib\site-packages\paramiko-2.0.1-py2.7.egg\paramiko\transpor t.py", line 493, in start_client raise e AttributeError: 'EntryPoint' object has no attribute 'resolve'

Please advice how can i solve this

1

1 Answers

1
votes

Found the problem , downgraded cryptography to an older version https://pypi.python.org/pypi/cryptography/1.2.1#downloads