We are usinh Openssh version 5.1. And we are trying to telnet anoth machine through SSH Session logged in with openssh. So, while pressing down arrow key to browse the menu resulting into logging out of the telnet session. As OpenSSH sends ESC char on pressing down arrow key first time. Please let me know if this has been fixed in later version or any other solution for this.
(In reply to Rashmi from comment #0) > So, while pressing down arrow key to browse the menu resulting into > logging out of the telnet session. As OpenSSH sends ESC char on > pressing down arrow key first time. I suspect you have your $TERM set wrong on either the client or on the server after you log in. What distro is this, which terminal are you using and what is $TERM set to.
Thanks for your reply. Actually we are using openssh source code integrated with my project which runs on linux platform. Please find the $TERM output below: root:/# echo $TERM vt100
(In reply to Rashmi from comment #2) > Thanks for your reply. Actually we are using openssh source code > integrated with my project which runs on linux platform. > > Please find the $TERM output below: > > root:/# echo $TERM > vt100 You didn't answer the question about which terminal emulator you're using, unless you are using a physical VT100, which seems pretty unlikely. Please fully describe: - client including ssh client and terminal emulator - server including OS and ssh server. If this is a self-made OS then debugging that is out of the scope of the OpenSSH team (I'd suggest making sure you have the correct termcap and/or terminfo entries). Also, 5.1 is pushing 10 years old at this point and has a number of known security issues (see https://www.openssh.com/releasenotes.html and search for "Security").
Closing (three months with no followup from requestor)
Close RESOLVED bugs with the release of openssh-8.0