Looking through Net::SSH2 for knownhost points to LIBSSH2_HOSTKEY_POLICY_STRICT and ->check_hostkey. That method is called when creating a connection.
A next step could be to call $av_obj_SSH->check_hostkey(...); from your code and explicitly look at the return value.
Maybe the object does not find the appropriate known_hosts file or something.
Without seeing your code, the output, and the various hidden inputs it is quite hard to suggest anything other than looking at the differences between what SSH does and what your script/libssh2 does and verifying at each step that they do the same until you find places where they differ.
In reply to Re^7: Net::SSH2 not base64 encoded
by Corion
in thread Net::SSH2 not base64 encoded
by averlon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |