I'm building a PowerShell tool to do some tasks with HP Procurve Switches.
The problem seems that i can't handle correctly the interactive TTY and i was unable to send a carraige return or something after the "press any key" message.
I've instanced a SshNet.ShellStream into a variable (with the CreateShellStream method), so i've sucesfully used the method .Expect('Press any key to continue') to get the response of the SSH conection printing the whole thing into my local host.
But if i try with a .WriteLine() method includng any key or CarriageReturn codes, it doesn't seem to interactively pressa a key for the HP Procurve side... so, my SSH ShellStream hangs if i try to invoke the .ReadLine() method just after the "Press
any key" message displayed by de HP Procurve switch.
Any ideas about how to bypass this problem?.
Thanks in advance...