Thursday, May 30, 2019

paramiko does not automatically add unknown hosts #11 (Solved)


paramiko SSH connects Error. (Resolved)



usr/lib/python2.7/site-packages/paramiko/client.py:580: UserWarning: Unknown ssh-rsa host key for 10.20.240.13: 98deaed43de39a61905a6ff514d0d2f8
  (key.get_name(), hostname, hexlify(key.get_fingerprint())))

2 comments:

  1. You have to use:

    ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())

    ReplyDelete
  2. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. Facebook bellen nederland

    ReplyDelete

Ethical Hacking Techniques: Cracking WPA/WPA2 Wi-Fi Using WPS and Capturing Handshakes

In the realm of cyber security, ethical hacking plays a crucial role in identifying and addressing vulnerabilities. One of the areas where e...