Added -t in the remote ssh execution

The remote execution not exit problem solved.