By default, the home and end keys do not work if you SSH using PuTTY to a Debian box.
Here’s the easiest work-around I’ve found. In PuTTY set theÂ Terminal-type string under Connection > Data to “linux” instead of “xterm”. This also makes dark colors much brighter, which is great for editing files with comments; usually the dark blue comments are too hardÂ to read.
If you have many profiles already setup then doing the above can be a pain. To make this easier,Â use PuTTY Session Manager. This program can export all your profiles to a reg file, then you can edit the file, do a search/replace (remember to make it case sensitive) and import the file back in. The program is here: http://puttysm.sourceforge.net/