Funciona (não é surpresa), mas se você estiver executando um comando via ssh (ao invés do shell padrão), você terá que usar a opção -t para alocar um terminal.
A página de manual do ssh diz
-t
Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple-toptions force tty allocation, even if ssh has no local tty.