Hello
we use the SshTunnel implementation to connect to a remote system. For security reasons we want to validate the fingerprint of the ssh server before we authenticate but the SshTunnel implementation has no HostKeyFingerprint property. Sftp and the normal Ssh implementation have this property. Currently we connect once with the normal Ssh implementation to get the fingerprint and then connect the SshTunnel. But this is not really how we want to keep it. Theoretically a hacker could, after the disconnect of the check, redirect the second connection to a compromised system and the program wouldn't get an alert about this. Can you implement the HostKeyFingerprint into the SshTunnel implementation?
Greetings
Mike