1 2 3 4 5 6 7 8 9 10 11 12
pub struct SshClient; impl russh::client::Handler for SshClient { type Error = anyhow::Error; async fn check_server_key( &mut self, _server_public_key: &russh::keys::PublicKey, ) -> Result<bool, anyhow::Error> { Ok(true) } }