SSH and VNC for Raspberry Pi

Xiaobai, I have been thinking about how to use a notebook to display the Raspberry Pi these days (after all, I don’t have the money to buy a separate screen), and finally open the Raspberry Pi graphical desktop on the notebook through VNC. But in the past two days, I have been thinking about the difference between VNC and SSH, so I will make a summary today.

Please see the link below for details:

(14 messages) Linux remote login--ssh and vnc_lm_y's blog-CSDN blog_vnc and sshicon-default.png?t=M4ADhttps://blog.csdn.net/Com_ma/article/details/77747546#:~:text=SSH.%20%E2%91%A3RFB%20%28Remote%20FrameBuffer%29%E5%8D%8F%E8%AE%AE%20%E5%9B%BE%E5%BD%A2%E5%8C%96%E8%BF%9C%E7%A8%8B%E7%AE%A1%E7%90%86%E5%8D%8F%E8%AE%AE%EF%BC%8C%20VNC%20%28Virtual%20Network,Computing%29%E5%B0%B1%E6%98%AF%E5%9F%BA%E4%BA%8E%E8%AF%A5%E5%8D%8F%E8%AE%AE%E7%9A% 84%EF%BC%8C%E4%B8%8A%E9%9D%A2%E8%AE%B2%E7%9A%84SSH%E5%9C%A8%E7%B1%BBUNIX%E4%B8%8B% E6%98%AFCLI%E7%95%8C%E9%9D%A2%E5%B8%B8%E7%94%A8%E7%9A%84%E8%BF%9C%E7%A8%8B%E7% AE%A1%E7%90%86%E6%96%B9%E5%BC%8F%EF%BC%8C%E9%82%A3%E4%B9%88%E5%9C%A8%E7%B1% BBUNIX%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E4%B8%AD%EF%BC%8C%E5%90%8C%E6%A0%B7% E5%AD%98%E5%9C%A8%E5%9B%BE%E5%BD%A2%E5%8C%96%E7%9A%84%E8%BF%9C%E7%A8%8B%E7% AE%A1%E7%90%86%E5%B7%A5%E5%85%B7%EF%BC%8CVNC%E5%B0%B1%E6%98%AF%E7%B1%BBUNIX%E7%B3% BB%E7%BB%9F%E4%B8%8B%E5%B8%B8%E7%94%A8%E7%9A%84%E5%9B%BE%E5%BD%A2%E5%8C%96% E8%BF%9C%E7%A8%8B%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7.%20%E4%BA%8C%E3%80%81SSH .%20%E5%9C%A8%E4%B9%8B%E5%89%8D%E7%9A%84%E4%B8%80%E7%AF%87%E9%9A%8F%E7%AC%94 %E5%BD%93%E4%B8%AD%EF%BC%8C%E4%B9%9F%E8%AF%A6%E7%BB%86%E8%AE%B2%E8%A7%A3%E4 %BA%86SSH%E7%9A%84%E4%B8%80%E4%BA%9B%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5%E5%8F %8A%E5%8E%9F%E7%90%86%20%28%20Linux%E5%AD%A6%E4%B9%A0%E4%B9%8BCentOS%20%28%E5%8D%81%E5 %9B%9B%29--%E5%88%9D%E8%AF%86ssh%20%29%2C%E5%9C%A8%E8%BF%99%E9%87%8C%E5%B0%86 %E5%AF%B9SSH%E7%9A%84%E4%B8%80%E4%BA%9B%E6%A6%82%E5%BF%B5%E8%BF%9B%E8%A1%8C%E8 %A1%A5%E5%85%85%EF%BC%8C%E4%BB%A5%E5%8F%8A%E8%AE%B2%E8%A7%A3%E4%B8%80%E4%BA %9BSSH%E7%9A%84%E4%B8%80%E4%BA%9B%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4%E3%80%82 .%20%20%20        SSH (Secure Shell) protocol CLI (command line interface) remote management tool, almost all operating systems have (different from telnet, SSH will encrypt data when transmitting data, so SSH is a relatively secure protocol), Almost all UNIX-like operating systems use SSH for remote management (linux, BSD, Mac OS, etc.).  

        The RFB (Remote FrameBuffer) protocol is a graphical remote management protocol. VNC (Virtual Network Computing) is based on this protocol. The SSH mentioned above is a common remote management method for the CLI interface under UNIX-like operating systems. Then, in UNIX-like operating systems, the same There are graphical remote management tools, and VNC is a commonly used graphical remote management tool in UNIX-like systems.

So far, one of my doubts has been solved. During my operation, I first used putty to open the ssh interface, and opened the VNC and SHH functions of the Raspberry Pi through the command line. After enabling the VNC function, use the VNC of the client to connect to the Raspberry Pi and finally open the Raspberry Pi desktop.

        

Guess you like

Origin blog.csdn.net/weixin_45348216/article/details/124971725