When I run a remote command over ssh that includes a progress bar (like phpunit or wget) instead of getting a progress bar that updates, I get repeated stdout bars that stack:
$ ssh user1@server1 some_command
-------------------------------
##-----------------------------
######-------------------------
#######------------------------
###########--------------------
##############-----------------
########################-------
etc
Is there any command I can run/pipe that will re-render these lines over the previous one (so the bar works as though I were running the command locally)?