SSH closes connection when using arrow keys


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 09-17-2009
SSH closes connection when using arrow keys

Hi,

I'm having a problem with my ssh link to various Sun servers running Solaris 9 and 10 from an Windows XP box running Cygwin/X.

I am using ssh to connect to a number of different Sun servers. My problem is that when editing a remote shell command line with the arrow direction keys the session aborts or, if there are background X processes running such as 'gvim', locks up then exists immediately when the X program terminates.

I previously connected using 'rsh' which did not cause a problem but have had to move to ssh, I am using zsh both on cygwin and on the remote server.

The following is the command that I use to start the connection
Code:
urxvtc -sb -sr -sl 1024 -geometry 140x45+0+0 -bg lightblue -fg black -tn xterm -title Support -e ssh -YC user@server

About 90% of the time using the arrow keys do not cause a problem but every now and then the remote session seems to recieve an 'exit' signal causing the remote session to end. This can be caused by either a single arrow key press or by holding an arrow key down.

As mentioned before I did not have the problem when connecting via 'rsh' which points to 'ssh' being the cause of the problem.

Any ideas as to why this is happening would be appreciated

Stv T
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Telnet connection closes before i execute GET command mohtashims Shell Programming and Scripting 7 07-23-2018 04:35 PM
Read a multiline text from a console - supporting arrow keys wenclu Shell Programming and Scripting 8 10-16-2012 01:51 AM
sftp connection closes if idle for around 10minutes chidori Solaris 10 06-16-2012 03:17 AM
Arrow keys binding in AIX v5.3 - how? alex_5161 UNIX for Dummies Questions & Answers 2 12-22-2011 06:40 PM
Tux-HJKL as arrow keys dotancohen UNIX for Dummies Questions & Answers 2 09-01-2011 04:14 PM
NoMachine NX window closes after establishing connection blackicecube SuSE 3 12-19-2009 11:03 AM
problem using arrow keys in bash shell Moumou Shell Programming and Scripting 2 07-17-2009 03:14 AM
Using arrow keys in shell scripts cambridge Shell Programming and Scripting 4 05-26-2009 06:15 AM
SunOS 5.10 - VI Arrow keys not working ravashingravi UNIX for Dummies Questions & Answers 7 12-01-2008 10:22 AM
command scrolling using arrow keys hemangi13 UNIX and Linux Applications 4 09-11-2008 12:53 PM
Using arrow keys cooldude Solaris 4 06-13-2008 11:51 AM
How to read arrow keys on really old bash? simonb Shell Programming and Scripting 1 05-01-2006 10:27 AM
how do I get my arrow keys to work for looking thru my PREVIOUS UNIX COMMANDS spotnis UNIX for Dummies Questions & Answers 11 09-14-2005 01:22 AM
arrow keys / special keys raguramtgr UNIX for Dummies Questions & Answers 3 02-20-2004 01:45 AM
Trapping Arrow keys nageshrc Shell Programming and Scripting 1 11-30-2001 02:36 PM