Telnet to Switch (wodSSH / wodSSH.NET)
I am not able to establish a tenet connection to port 10023 on our provisioniing switch. i am able to conenct to port 23 though. Any thoughts on what I need to change in the below code?
Ssh1.Hostname = mydomain.com ;
Ssh1.Login = username ;
Ssh1.Password = password ;
Ssh1.Blocking = true;
Ssh1.Protocol = WeOnlyDo.Client.SSH.SupportedProtocols.Telnet;
Ssh1.Port = 10023;
Ssh1.Timeout = 10;
//Ssh1.TerminalType = tty ;
Ssh1.Connect();
String a;
a = Ssh1.Receive();
Response.Write( <pre> + a + </pre> );
Ssh1.Disconnect();
Thank you,
Sandeep
Complete thread:
- Telnet to Switch - Sandeep, 2008-02-25, 19:22
- Re: Telnet to Switch - woddrazen, 2008-02-25, 20:13
- Re: Telnet to Switch - Sandeep, 2008-02-25, 20:25
- Re: Telnet to Switch - woddrazen, 2008-02-25, 21:20
- Re: Telnet to Switch - Sandeep, 2008-02-25, 21:39
- Re: Telnet to Switch - woddrazen, 2008-02-25, 22:42
- Re: Telnet to Switch - Sandeep, 2008-02-26, 04:07
- Re: Telnet to Switch - woddrazen, 2008-02-25, 22:42
- Re: Telnet to Switch - Sandeep, 2008-02-25, 21:39
- Re: Telnet to Switch - woddrazen, 2008-02-25, 21:20
- Re: Telnet to Switch - Sandeep, 2008-02-25, 20:25
- Re: Telnet to Switch - woddrazen, 2008-02-25, 20:13