in reply to Can't get $ssh2->check_hostkey to work
$ssh2->check_hostkey(Net::SSH2::LIBSSH2_HOSTKEY_POLICY_ASK(), "d:/prof +iles/known_hosts.pub") or $ssh2->die_with_error ;
However, auth_password() still fails for me with that same error about the unknown username/public key combo.$ssh2->check_hostkey('advisory', "C:/Cygwin/home/user/.ssh/known_hosts +") or $ssh2->die_with_error ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't get $ssh2->check_hostkey to work
by BernieC (Pilgrim) on Aug 10, 2018 at 05:52 UTC | |
by BernieC (Pilgrim) on Aug 10, 2018 at 06:52 UTC | |
by zentara (Cardinal) on Aug 10, 2018 at 09:51 UTC | |
by salva (Canon) on Aug 11, 2018 at 23:53 UTC | |
by pryrt (Abbot) on Aug 15, 2018 at 14:14 UTC |