Tab completion doesn't work over SSH
Solution 1:
Your current shell is the problem. You're currently using sh
as the default shell, as seen in the output of your env
command:
SHELL=/bin/sh
To fix your issue, you need to change to another shell that supports those key inputs (such as bash
, which I'll use as an example). To do this, you'll need to use the chsh
utility (change shell).
Example:
$ which bash
/bin/bash
$ chsh -c /bin/bash
This will update the default shell environment for your user (see more here about full usage). You'll need to logout/login or start a new session to load in to the new shell.
Alternatively, you can utilise another shell by locating its path and running from your current shell. As an example, here's me changing from sh
to bash
:
$ which bash
/bin/bash
$ /bin/bash
chris@loki:~$
Hope this helps!
Solution 2:
You might have to run chsh like sudo chsh username -s /bin/bash