I need to connect to a remote server by SSH to edit some documents. When I work at home, I SSH to the remote server using SSH Secure Shell and open emacs, but it doesn't fully highlight documents as I want:

Is there any way to fix it so that syntax highlighting works like when I ssh through Cygwin?

SSH Secure Shell only has a problem with emacs; everything else works fine.

~/.emacson the server. If you don't have one there, it may be the problem. Just copy it from your local machine.vt220. When I change its value by executingexport TERM=ansi, emacs fully highlights documents. Thank you!