ssh -t (open a pseudo tty) run commands on a remote server
Posted on: 11/11/2010 11:54 AM
Go2Linux posted a tutorial about creating a pseudo TTY with ssh -t
ssh -t (open a pseudo tty) run commands on a remote server
The -t option in the ssh -t command force pseudo-tty allocation.
This is very handy when you need to run remote screen based applications on the remote server, establishing something like a temporary ssh connection, that will be established while the command is running, and it is closed as soon as the command is finished.