ssh -t (open a pseudo tty) run commands on a remote server
Posted on: 11/11/2010 12:54 PM

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.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/ssh_t_open_a_pseudo_tty_run_commands_on_a_remote_server.html)