VMware under Ubuntu virtual machine NAT mode Connection Xshell

Source: Internet
Author: User

1.edit->virtual NetWork Editor

2. Choose Nat->nat Settings Configure Port mapping relationship is very important!

Host Port: The real host is typically a Windows port number, as long as the port number is 1024~65535 between the lines. Assign a 2225 here

Type: protocol type select TCP

Virtual Machine IP Address: The IP addresses of the VMS, which is of course the Ubuntu IP 192.168.38.128

Virtual machine Port: The port number of the VM, general SSH service default port 22, do not change here.

3. View Ubuntu mac and IP address, install SSH service apt-get installed sshd

4. Create an Ubuntu virtual Machine connection in Xshell, where the IP port is the real host ip:127.0.0.1:2225

5.ok ~

VMware under Ubuntu virtual machine NAT mode Connection Xshell

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.