Re: SessionOptions.SshPrivateKeyPath is set, but SessionOptions.Protocol
OK, so remove the
You probably have the key set in your GUI session settings. While GUI will ignore the key, if you set it for non-SSH session, the .NET assembly is more strict.
SshPrivateKeyPath
.
You probably have the key set in your GUI session settings. While GUI will ignore the key, if you set it for non-SSH session, the .NET assembly is more strict.