MarketSquare / SSHLibrary

Robot Framework test library for SSH and SFTP
http://marketsquare.github.io/SSHLibrary/
Other
156 stars 137 forks source link

SSHException: Incompatible ssh peer (no accaptable host key) #441

Closed bob-ros2 closed 1 month ago

bob-ros2 commented 2 months ago

Hi, we use following version still under Python 2.7

robotframework-sshlibrary==3.2.1

When we use Login With Public Key we get following error: SSHException: Incompatible ssh peer (no accaptable host key)

This happens since the AIX host to which we want to connect got an update. How to get rit of that? We cant switch to Python3, if we do that it could influence our whole regression testing

bob-ros2 commented 1 month ago

The isse I had was that robotframework-sshlibrary==3.2.1 didnt support following host key algorithm: server key:[u'rsa-sha2-512', u'rsa-sha2-256']

Using these version fixed it for me $ pip freeze 2>/dev/null | grep -e robotframework-sshlibrary -e paramiko paramiko==2.9.0 robotframework-sshlibrary==3.8.0