When I ssh as root, my shell is bash, but when it's a non-root user it is sh. How can I make them both to use bash?This actually goes against the logic in this question: Why root's default shell is configured differently with other normal user account's default shell?
different shell for root and non-root user
linux;shell;ssh;users
Please see man usermod.An example would be sudo usermod -s /bin/bash username.