Getting rid of hass-cli on SSH

When connecting to Homeassistant OS via SSH on port 22222, how can I change the root user’s login shell to get rid of the hass-cli?

I would like to be able to do emergency backup/restore operations with scp, or run commands directly against the host, and the hass-cli gets in the way of that.

I tried adding a different shell as command restriction to the authorized_keys, but that didn’t help…

You should be able to type “login” to get to a real shell.

Yes, I know that. What I’d like to know is if there’s a way to get rid of the hass-cli altogether, because it gets in the way of automation and things like scp, and I never actually use it anyway.