ssh -t remote-server 'sudo ls'throws a failure like
sudo: sorry, you must have a tty to run sudo
but I used -t to act like a tty?
throw another terminal flag at it
ssh -tt remote-server 'sudo ls'

works since I spent about 8 hours figuring that out thought I would post it here for next time