in reply to error_know_host error
Your usage does not match the usage as shown in the documentation. Maybe try it like this:
$ssh2->check_hostkey(LIBSSH2_HOSTKEY_POLICY_TOFU) or $ssh2->die_with_error;
Also, have you verified (using plain ssh) that the hostkey is still the same as in your known_hosts file?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: error_know_host error
by BernieC (Pilgrim) on Oct 16, 2023 at 16:50 UTC | |
by pryrt (Abbot) on Oct 16, 2023 at 16:59 UTC |