I've read here that ssh is considered a pty. Why? If I run an ssh command in my console (say, in a Debian server), where comes the "pty" aspect of ssh here? For me, it's like I'm using any other utility like cat or sed, so where comes the "pty" aspect here?
In screen or tmux it would seem more plausible to use this term (even though I think it's quite uncommon and these should be named "multiplexers").
sshis not a pseudoterminal. To learn what a pseudoterminal (pty) is you may begin by reading the manual page ofpty - pseudoterminal interfaces. Whatsshd(the server side ofssh) does is create a pty and run a shell in it. – AlexP Nov 25 '17 at 14:08sshprocess. Thesshprocess talks over the network with thesshddaemon on the remote machine. On the remote machine, thesshddaemon has the master side of a pty, with the slave side connected to the shell or whatever program you are running. – AlexP Nov 25 '17 at 14:17