I'm connecting to remote server using emacs shell.
Emacs shell displays directory listings with proper coloring and auto completion when working with local machine.
But when I use ssh the autocompletion and coloring are gone. Same holds for eshell.
Is there a way to fix this without resorting to M-x term? Because emacs keys don't work in term which is a real productivity killer.
There is a similar question here. But that is rather about emacs in SSH instead of SSH in emacs.