I've been using Renci.SshNet in C# to check some info about a server using an SSH coection.
I am trying to use the command:
sshClient.RunCommand("show ports").Result;
to generate a string and check if all the ports on a server are enabled. The RunCommand().Result method has worked perfectly with every other command but for some reason refuses to print anything when I try to run "show ports." Does anyone know why this could be the case?
