Open
Description
I noticed that withSSH2User
doesn't error when known_hosts
doesn't have the hosts key. I tested in GHCi and checkHost
returned FAILURE
instead of NOTFOUND
or MATCH
. I tested with a host which is in known_hosts
and a host which was not in known_hosts
. I would expect checkHost
to return NOTFOUND
and MATCH
instead of FAILURE
for the two cases.
I am running Arch Linux and version 1.8.2
of libssh2 and version 0.2.0.7
of libssh2-hs library.
Is the intention for withSSH2User
to only fail if MISMATCH
is found? I would also expect NOTFOUND
to cause an error too.
Metadata
Assignees
Labels
No labels
Activity