.Net Library Can't get connection to server
Hi,
Don't know what to to. Getting:
My code:
What am i doing wrong? I also tried adding the path to the sshprivatekeyfile:
But nothing changed.
Maybe someone can help me, didn't find something related in the FAQ, as far as i can see...
Don't know what to to. Getting:
Etc...WinSCP.SessionRemoteException: Rechner-Schlüssel wurde nicht überprüft
My code:
SessionOptions sessionOptions = new SessionOptions { Protocol = Protocol.Sftp, HostName = "ftp.de", UserName = "user", Password = "pwd", SshHostKeyFingerprint = "ssh-rsa 1023 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx", }; using (Session session = new Session()) { // Connect session.Open(sessionOptions); }
SshPrivateKeyPath = "C:\\temp\\",
Maybe someone can help me, didn't find something related in the FAQ, as far as i can see...