in reply to Re: Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)
in thread Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)

it would seem LIBSSH2_HOSTKEY_POLICY_TOFU should be a constant: try removing the quotes.

Just as discussed 2 days ago in the original thread.


🦛

  • Comment on Re^2: Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)

Replies are listed 'Best First'.
Re^3: Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)
by kcott (Archbishop) on Oct 18, 2023 at 19:03 UTC

    ++ I thought it sounded familiar; couldn't pinpoint it though. Thanks.

    — Ken

Re^3: Unable to determine known_hosts location (-16 LIBSSH2_ERROR_FILE)
by BernieC (Pilgrim) on Oct 19, 2023 at 16:37 UTC
    Bareword "LIBSSH2_HOSTKEY_POLICY_TOFU" not allowed while "strict subs" in use
      You ought to read the replies, too: Re^3: error_know_host error

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]