问题描述
任何人都可以向我解释vty和tty之间的区别吗?
Can anyone explain me the difference between vty and tty ?
执行tty时,我得到以下提示.
I am getting the following when i execute tty .
[sce@..]# tty
/dev/pts/135
/dev/pts/135是什么?
what is /dev/pts/135 here ?
推荐答案
TTY定义:Teletypewriter最初是指现在的Linux/Unix系统上的任何终端.这也意味着Unix/Linux系统上的任何串行端口.
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定义:代表伪终端从站.
PTS Definition:Stands for pseudo terminal slave.
TTY和PTS之间的区别在于与计算机的连接类型.TTY端口是与计算机的直接连接,例如键盘/鼠标或与设备的串行连接.PTS连接是SSH连接或telnet连接.所有这些连接都可以连接到外壳程序,该外壳程序将允许您向计算机发出命令.
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.
虚拟电传打字机(VTY)是在路由器中创建的命令行界面(CLI),用于促进通过Telnet(局域网中使用的网络协议)与守护程序的连接.要连接到VTY,用户必须输入有效的密码.
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.
这篇关于tty和vty在linux中有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!