Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between tty and vty in linux [closed]

Tags:

linux

Can anyone explain me the difference between vty and tty ?

I am getting the following when i execute tty .

[sce@..]# tty
/dev/pts/135

what is /dev/pts/135 here ?

like image 754
user2720323 Avatar asked Oct 17 '25 22:10

user2720323


1 Answers

TTY Definition: Teletypewriter originally and now also means any terminal on Linux/Unix systems. It also means any serial port on Unix/Linux systems.

PTS Definition: Stands for pseudo terminal slave.

The difference between TTY and PTS is the type of connection to the computer. TTY ports are direct connections to the computer such as a keyboard/mouse or a serial connection to the device. 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.

Virtual teletype (VTY) is a command line interface (CLI) created in a router and used to facilitate a connection to the daemon via Telnet, a network protocol used in local area networks. To connect to a VTY, users must present a valid password.

like image 124
linux_fanatic Avatar answered Oct 19 '25 13:10

linux_fanatic