许可优化
许可优化
产品
产品
解决方案
解决方案
服务支持
服务支持
关于
关于
软件库
当前位置:服务支持 >  软件文章 >  Intel实习mentor布置问题1:任务解析与解决思路

Intel实习mentor布置问题1:任务解析与解决思路

阅读数 18
点赞 0
article_banner

可视化界面下的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


免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删

相关文章
技术文档
QR Code
微信扫一扫,欢迎咨询~
customer

online

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 board-phone 155-2731-8020
close1
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

姓名不为空

姓名不为空
手机不正确

手机不正确

手机不正确
公司不为空

公司不为空

公司不为空