In linux, use ssh to encrypt vnc

Source: Internet
Author: User
In linux, use ssh to encrypt vnc. if you want A (19216801) to access vnc of B (19216802), use ssh to encrypt it. First let B generate the public key and private key, pass the public key to itself to encrypt, and then pass the private key to A. when A accesses B, use the command, vncviewer-viaroot @ 1 linux, use ssh to encrypt vnc. if you want A (192.168.0.1) to access vnc of B (192.168.0.2), use ssh to encrypt it. First let B generate A public key and private key, the public key to their own encryption, and then the private key to A, A in access to B, the use of the command, # vncviewer-via root@192.168.0.2 127.0.1: 2 (Port 2 ).... Note that the first step is to connect A to B through ssh, and the second step is to connect B's #/etc/sysconfig/vncserver. change the port number of the last two lines of the conf file to 2, and change my username to log on to VNC through the local loopback.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.