Is ssh supposed to run commands in terminal?

Christian Weisgerber naddy at
Wed Apr 15 20:38:38 AEST 2015

On 2015-04-15, Yuri <yuri at> wrote:

> I can't find any command line option related to running command remotely 
> in terminal.

-t, -T
The term you are looking for is "tty".

> I think users intuitively expect commands to be run in 
> terminal.

Historically, the idea was that users expect ssh(1) to behave like
rsh(1), which did not allocate a tty.

Christian "naddy" Weisgerber                          naddy at

More information about the openssh-unix-dev mailing list