Hello,
I use the following code to connect to a Kerberos server (this code is inside a method that has the parameters:server, username, pwd, domain):
sshSession = new SshSession();
sshSession.Connect(server);
SshGssApiCredentials gssapiCredentials = new SshGssApiCredentials() { UserName = userName, Domain = domain, Password = pwd };
gssapiCredentials.SetMechanisms(SshGssApiMechanisms.KerberosV5, SshGssApiMechanisms.Ntlm);
gssapiCredentials.TargetName = server;
sshSession.Authenticate(gssapiCredentials);
but at the line "sshSession.Authenticate(gssapiCredentials);" it throws an exception: Authentication through SSPI failed.
Thanks very much in advance for your help!
Iulia