[Solved] SSH with PuTTY - Home/End keys don't work



Nikos Chantziaras wrote:
When I login using SSH to an openSUSE 10.3 machine from another Unix machine with the 'ssh' client, all is fine; the Home and End keys work. However, when I login from a Windows machine using the PuTTY client, those keys won't work. I tried every possible configuration in PuTTY to no avail.

On other machines I login to with PuTTY (CentOS, Gentoo, Solaris), they work. Only the openSUSE 10.3 machines have this problem.

Any tips?

I fixed the problem. It was unrelated to the terminal definition. In /etc/inputrc lines 135 and 136, this is the default in openSUSE 10.3:

#
# Home and End
#
$if term=xterm
#
# Normal keypad and cursor of xterm
#
"\e[1~": history-search-backward
"\e[4~": set-mark

I don't know who's responsible for that configuration, but it was *NOT* a good idea. Or perhaps it's a bug/oversight; I see no reason to have Home/End do anything else than their most obvious funtion: to reposition the cursor. I commented out the two lines and everything is working OK now.

I'm not sure if this should be reported as a bug.
.



Relevant Pages

  • SSH with PuTTY - Home/End keys dont work
    ... When I login using SSH to an openSUSE 10.3 machine from another Unix machine with the 'ssh' client, all is fine; the Home and End keys work. ...
    (alt.os.linux.suse)
  • RE: Penetration test of 1 IP address
    ... It does not look like the login screen found on the ... Penetration test of 1 IP address ... "I have been asked to perform a security audit of 1 IP address for client." ...
    (Pen-Test)
  • Re: Windows Login
    ... perfect...no public DNS servers used internally at all. ... We manage several hundred client networks. ... Windows XP desktops, Exchange 2003, WSUS deployments SQL, etc. ... CTRL-ALT-DEL, select Logoff, and RE-login, and they can login ...
    (microsoft.public.windows.server.setup)
  • Re: svchost.exe
    ... it boot, login, start task manager and after about 10 mintues svchost.exe ... winmgmt, wscsvc, wuauserv ... So I gave my PC a static IP and disabled DHCP client and DNS client ... ShellHWDetection is needed or bootup and login take 5 minutes. ...
    (microsoft.public.windowsxp.general)
  • RE: Penetration test of 1 IP address
    ... regards to carrying out the actual testing phase of the engagement so I will ... "I have been asked to perform a security audit of 1 IP address for client." ... If I enter the IP address and then /webblaze, I am taken to a login page ...
    (Pen-Test)