You can also just add this to your SSH config to get the typical functionality working:
Host ... SetEnv TERM=xterm-256color
[dead]