This tutorial will explain you how you can enable Home, End and Delete keys in ssh terminal of FreeBSD.
This configuration is not applicable for Linux distributions as all of them i have seen have these keys working by default.
The default environment for FreeBSD is CSH. You will need to open .cshrc file located in your home directory.
It should like this:


