in reply to Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)
G'day BernieC,
I'm not a user of Net::SSH2, but looking at its documentation and its source it would seem LIBSSH2_HOSTKEY_POLICY_TOFU should be a constant: try removing the quotes.
If that doesn't work, providing additional information may help others to troubleshoot your problem.
See also: "Net::SSH2: Error handling"; in particular, its reference to check_hostkey.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)
by hippo (Archbishop) on Oct 18, 2023 at 18:29 UTC | |
by kcott (Archbishop) on Oct 18, 2023 at 19:03 UTC | |
by BernieC (Pilgrim) on Oct 19, 2023 at 16:37 UTC | |
by choroba (Cardinal) on Oct 19, 2023 at 16:48 UTC |