当前位置:网站首页>Intel 实习mentor布置问题1
Intel 实习mentor布置问题1
2022-07-21 05:21:00 【来斤山楂】
可视化界面下的Terminal和ssh下启动的Terminal二者之间的区别。
二者都是伪终端,与物理终端相互区别。物理终端是本地直接关联了物理设备,伪终端则是通过软件方法来实现。二者都是完成于主机间的IO。
可以通过tty命令来查看当前终端机连接标准输入设备的文件名称。
具体区别在于
伪终端的两种情况:
第一是在Xwindows(桌面GUI环境之下)模式下的启动的终端称之为伪终端;
第二是在远程如果用telnet远程登录的话,也是创建的一个伪终端
Linux设计出一对虚拟终端设备,即/dev/ptmx和/dev/pts/X。这就跟TUN/TAP网卡的网卡与字符设备之前的对应关系一致。
简单来讲,当有ssh客户端连接后,sshd会fork一个进程,然后在子进程中打开一个叫做/dev/pts/1(或者2,3,4,5…)的设备,然后和sshd进程的/dev/ptmx配对,这样在ptmx与pts之间就构成了一条管道,数据可以顺利被导入到sshd,然后通过TCP/IP封装发往ssh client所在的机器。
————————————————
Telnet provides the ability to communicate with a service, nothing more nothing less. If that service happens to be a shell on a server, great, but it’s not always. I often use telnet to send a malformed HTTP request manually, or to manually run commands against an SMTP server.
SSH is way more than just a way of logging on to a server remotely. It can be used as a proxy to access remote services from your local computer, and it can be used as a protocol to run other protocols over (like scp)
A Shell is the name given to a command-line interpreter that runs on a computer to figure out what you’re wanting to do and tries to do it. This could be sh, bash, csh, tcsch or even command.com
Command Line is the DOS shell, usually associated with Microsoft operating systems.
A terminal is ambiguous. It could be the OS X name for the shortcut to their shell. It could also be a physical thing that was used to interface with the shell of a multi-user Unix server (a popular one is the VT-100)
What is the Linux version commonly called, is it just called SSH ?
SSH is just a protocol that can access the shell of the server. It is extremely common, but there’s also the older and insecure rsh or you can even log in to your Linux server with telnet if you’re so inclined.
https://blog.csdn.net/qq_27825451/article/details/101307195/
https://serverfault.com/questions/429677/confusion-over-terminology-ssh-shell-terminal-command-prompt-and-telnet
边栏推荐
- @Correct use of requestparam annotation
- Leakage current, no grounding protection measures... 1296 imported electric kettle have major potential safety hazards
- Enterprises and individuals choose cloud terminals or cloud servers for cloud desktops? You will know after reading this article
- Assembly realizes circular judgment on whether it is a square number by means of conditional transfer
- Mysql/sql server connects to the database through JDBC to add, delete, modify and query
- Oracle uses data manipulation functions
- centos7部署mysql8
- Navicat was selected into the "global database industry map" released by the Academy of information technology
- 原码与补码
- Assembly language homework
猜你喜欢
Tcp/ip Foundation
Example of Cisco configuring VLAN
Relevant contents of tube side
I spent 6000 to sign up for the test training class. Three months later, I successfully "cheated" into Tencent with a monthly salary of 17k
SQL summary data
2.Ansible中常用模块
Parsing the sliding window of TCP
Zabbix+分布式数据库TiDB实现分布式数据库监控
3. Use playbook in ansible
Zabbix+分布式數據庫TiDB實現分布式數據庫監控
随机推荐
Intranet detection 2-powershell collects domain information & sensitive data / data / information collection and sorting
Part 03: SQL syntax tree parsing
The database is for the salaries table emp above_ No field create index idx_ emp_ no
LVS负载均衡+高可用
The last step of QA robot implementation -- Code encapsulation and interface provision
PeopleSoft warning, error, message box
vim编辑器
[infrastructure] [flink] Flink / Flink CDC code to achieve business access
Newly released yolov5 visual actual combat project (1)
2. Modules communs dans ansible
What happens when you have threads
Codeforces Round #809 (Div. 2)
Practical exercise | a simple method to retrieve odd or even rows in the database
Deploy tidb in multiple data centers in the same city
Lamp Architecture - mysq cluster and master-slave replication (2)
FlinkCDC
Encapsulation des machines virtuelles
LVS load balancing + high availability
虚拟机的封装
Enterprises and individuals choose cloud terminals or cloud servers for cloud desktops? You will know after reading this article