I'm not that sure if I should post this question here or the tech forum. ....
Someone told me that an interactive ssh session works like the following
When you do an interactive SSH login, stdin and stdout are connected to
a pseudo-tty, which is connected to sshd on the server, which is
connected to the TCP socket, which is connected to the ssh client.
Now let's say that I have a remote application chatroom application called party on this server and I invoked it from my machine like the following