C# SSH.NET CreateCommand/RunCommand does not work
问题 I would like to create an application to send SSH commands to HP Switches and some other devices. But from HP Switch I get response "SSH command execution is not supported." . I use this part of a code. SshClient sshclient = new SshClient(IP,username, pass); sshclient.Connect(); SshCommand sc = sshclient.CreateCommand("conf"); sc.Execute(); string answer = sc.Result; label9.Text = answer; Any ideas how to make the interactive shell emulation? I found only this thread regarding to this issue.