Subject: | Feature request: Check if a host is present in known_hosts |
Date: | Wed, 24 Jun 2020 16:10:34 +0000 |
To: | "bug-Net-SSH2 [...] rt.cpan.org" <bug-Net-SSH2 [...] rt.cpan.org> |
From: | Mattias Päivärinta <mattias.paivarinta [...] internetstiftelsen.se> |
Hello bug-Net-SSH2,
I note that the Net::SSH2::KnownHosts module is marked as experimental. I'm taking this opportunity to submit a feature request.
I have a use case where I call ssh-keygen -F example.com. If there's no fingerprint for the given host I instruct the user to add it manually and terminate the process. If I could use Net::SSH2::KnownHosts to make the check I'd use that instead of calling out to ssh-keygen.
Kind Regards,
Mattias