Answered on IRC, but for the record:
It seems the root
user has a bash-like shell assigned which has tab completion enabled, whereas the deploy
user has the more stand sh
as its shell. This can be confirmed by checking /etc/passwd
for the two users.
If that is the case, simply use vipw
or usermod -s /path/to/bash deploy
to change the deploy user's shell to, in the example, bash (substitute your favorite shell as necessary).