TTY - Teletype
TTY ports are direct connections to the computer such as a keyboard/mouse or a serial connection to the device.
PTS- Pseudo-Teletype
PTS connections are SSH connections or telnet connections. All of these connections can connect to a shell which will allow you to issue commands to the computer.
For example, when you ssh in to a machine and run
man pty
TTY ports are direct connections to the computer such as a keyboard/mouse or a serial connection to the device.
PTS- Pseudo-Teletype
PTS connections are SSH connections or telnet connections. All of these connections can connect to a shell which will allow you to issue commands to the computer.
For example, when you ssh in to a machine and run
ls
, the ls
command is sending its output to a pseudo-terminal, the other side of which is attached to the SSH daemon.man pty
No comments:
Post a Comment