Twice now, I have loaded my VM for a day of digging around HTB and found that none of my arrow keys work in my terminal. The enter key sometimes works, the number keypad is dead, generally its a mess.
After a good amount of digging, this seems to fix it, once you run the command, kill the session, and start a new one.
sudo chsh -s /bin/bash
I picked this up from askubuntu:
https://askubuntu.com/questions/325807/arrow-keys-home-end-tab-complete-keys-not-working-in-shell

Well that probably explains it, I had been playing around far too much with /bin/sh.