use sudo -t when running remote commands by ssh

To avoid this warning: "stdin: is not a tty"
sudo -t can be used to execute arbitrary screen-based programs on a
remote machine, which can be very useful, e.g. when implementing menu
services.

closes #8