The terminal prompt is "login as" , without the quotes.
I am using the following code, to log into the terminal.
On executing the program , I am seeing an error , "Could not automatically detect prompt"
var sshVar = new Ssh();
sshVar.Connect(hostip);
sshVar.Login("userid", "pwd");
// create a new instance of VirtualTerminal
// (creates an SSH shell session)
VirtualTerminal terminal = sshVar.StartVirtualTerminal();
Scripting script = terminal.Scripting;
script.DetectPrompt();
Please let me know what should be done.
Sujay