How to set the speed for the terminal type (wodSSH / wodSSH.NET)
Hi,
I am connecting to remote server which will open a shell and displays some menu on my client so that I can select the appropriate command from the Menu and work. There is no problem in connection however the Menu drawing speed is too slow. I tried connecting to the same server with putty (v0.55) and it draws the menu instantly. After analyzing the logs from putty I found the following:-
Log from putty:
Incoming packet type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)
00000000 00 00 01 00 00 00 00 00 00 00 00 00 00 00 80 00 ................
Event Log: Opened channel for session
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
00000000 00 00 00 00 00 00 00 07 70 74 79 2d 72 65 71 01 ........pty-req.
00000010 00 00 00 05 78 74 65 72 6d 00 00 00 50 00 00 00 ....xterm...P...
00000020 18 00 00 00 00 00 00 00 00 00 00 00 0b 80 00 00 ................
00000030 96 00 81 00 00 96 00 00 ........
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
00000000 00 00 01 00 ....
Event Log: Allocated pty (ospeed 38400bps, ispeed 38400bps)
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
00000000 00 00 00 00 00 00 00 05 73 68 65 6c 6c 01 ........shell.
Incoming packet type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)
00000000 00 00 01 00 00 02 00 00 ........
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
00000000 00 00 01 00
If you see from the putty logs it is allocating the terminal type with speed parameters.
My question is how do I achieve the same through wodSSH client?
Thanks and Regards,
Tushar
Re: How to set the speed for the terminal type
Tushar,
I don't think this is the reason for slow menu. There is something else involved here.
You use SSH protocol, right? How do you display that menu? What exactly is slow - data that arrives from remote side, or displaying that data to screen?
wodSSH doesn't display anything - your app does, perhaps this is slow?
Kreso
Re: How to set the speed for the terminal type
How do I find out the speed of data reception ?
I thought that Allocated pty (ospeed 38400bps, ispeed 38400bps) was the reason for slow speed because I had checked with putty (v.53b) it also does not do speed negotiation and the Menu is slow to draw with this version as it is with wodSSH.
What do I need to do so that I can verify my assumptions?
Thanks.
Re: How to set the speed for the terminal type
Tushar,
you still didn't tell me.. Is data arriving too slow, or menu drawing is too slow?
Kreso
Re: How to set the speed for the terminal type
That is what I am asking how do I find out whether data reception is slow or not.
Menu drawing is surely slow, but as I told you it is the case with putty v0.53. They have changed something in v0.55 which results in fast menu drawing.
Tushar
Re: How to set the speed for the terminal type
Tushar,
well, I can't be the judge if data is coming slow or not. You have to measure it somehow.
Any chance I could connect there? If I could, can you send details to techsupport@weonlydo.com ?
Kreso
Re: How to set the speed for the terminal type
Hi Kreso,
Sorry you cannot to the machine since it is behind ODC firewall.
But any chance if I could send the speed selection option to the server during the initial handshake just before the shell is opened?
Thanks.
Re: How to set the speed for the terminal type
Tushar,
no, you can't do it currently.
But this is what we could do - I can send you special modified version with speed(s) of your choice. You could try them out, and if you really think they help, we can make such property.
Would this be ok? If so, please send me email to techsupport and tell me what speed(s) do you want me to hardcode inside.
Kreso
Re: How to set the speed for the terminal type
Hi Kreso,
That is really nice of you to send a customized version to me.
You can encode the speed as 38400bps, If this works out you may probably add it as a property.
I must say that the support from wodSSH is excellent :)
Please let me know if I need to send any other information to you so that you can send me the customized version.
Thanks and Regards,
Tushar
Re: How to set the speed for the terminal type
Ok, I'll prepare version for you. Can you please email me at techsupport@weonlydo.com so I can reply with attached change?
Kreso