3
I connect to my server via ssh (PuTTY). Type Ctrl+R at the console. Type a single character.
I can cycle through the previous commands by pressing Ctrl+R more times.
But if I type another character nothing happens and for some reason I can no longer cycle through previous commands.
It works as expected at a local console though. I’m curious what could be causing this behavior when SSHed into it.
Running stty -a from ssh putty session:
speed 38400 baud; rows 35; columns 138; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
2Might want to ask this on serverfault or unix.stackexchange if you don't get an answer. – sa289 – 2015-09-24T22:02:46.410
2I don't think this a ssh issue.
you shoud use ESC to end reverse search mode.
You might want to compare key setting by using
stty -a
( both from console and from ssh). – Archemar – 2015-09-25T08:31:03.097Just added results of that command – user1028270 – 2015-09-25T14:08:02.733