I have an application that is trying to communicate with an external device via ether-net cable.
Using the following code:
Code:
    Process proc = null;
    string er="";
    string o="";
    ProcessStartInfo test = new ProcessStartInfo("C:\\Program Files (x86)\\PuTTY\\plink.exe", "-ssh -batch -pw root root@172.31.255.1:22 ifconfig");
    test.UseShellExecute = false;
    test.RedirectStandardOutput = true;
    test.RedirectStandardError = true;
    test.CreateNoWindow = true;

    proc = Process.Start(test);
    er = proc.StandardError.ReadToEnd();
    o = proc.StandardOutput.ReadToEnd();
I receive back:
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 1024 7b:e5:6f:a7:f4:f9:81:62:5c:e3:1f:bf:8b:57:6c:5a
If you trust this host, hit Yes to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, hit No.
If you do not trust this host, hit Cancel to abandon the
connection.

How do I answer this question automatically to "trust" the host?

Thanks,
LSM...