日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Intel 实习mentor布置问题1

發布時間:2023/12/14 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Intel 实习mentor布置问题1 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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

總結

以上是生活随笔為你收集整理的Intel 实习mentor布置问题1的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。