in reply to Re^6: Net::SSH2 not base64 encoded
in thread Net::SSH2 not base64 encoded
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Net::SSH2 not base64 encoded
by averlon (Sexton) on Dec 13, 2024 at 07:09 UTC | |
by Corion (Patriarch) on Dec 13, 2024 at 08:06 UTC | |
by averlon (Sexton) on Dec 13, 2024 at 08:37 UTC | |
by Corion (Patriarch) on Dec 13, 2024 at 09:04 UTC | |
by averlon (Sexton) on Dec 13, 2024 at 09:54 UTC | |
by averlon (Sexton) on Dec 13, 2024 at 14:48 UTC |