SSH host key fingerprint "ssh-ed25519 255 xxxxxxx" does not match pattern /((ssh-rsa|ssh-dss|ssh...
Good afternoon.
Trying to connect using C# with the code generated by WinSCP, I get the error:
Trying to connect using C# with the code generated by WinSCP, I get the error:
SSH host key fingerprint "ssh-ed25519 255 xxxxxxx" does not match pattern /((ssh-rsa|ssh-dss|ssh...
// Configuración de opciones de sesión SessionOptions sessionOptions = new SessionOptions { Protocol = Protocol.Sftp, HostName = "xxx.xxx.xxx.xxx", UserName = "itlestron", SshHostKeyFingerprint = "ssh-ed25519 255 xxxxxx", SshPrivateKeyPath = @"D:\ClientesStahl\BigNatu\bignatu.ppk", }; using (Session session = new Session()) { // Conexión session.Open(sessionOptions); // Código }