VirtualBox SSH Connection using NAT mode

Source: Internet
Author: User

VirtualBox local virtual machine via SSH connection is generally available via bridge mode and NAT mode

Bridge mode, share the local Host network card, under the same LAN, the direct access to the IP address can be connected.

Nat mode, the acquired IP is not the same network segment as the local host, and port forwarding is required to connect the virtual machine to the local SSH.

The setup steps are as follows:

1. Select Port forwarding

2, to set the host IP is 127.0.0.1, the host port can be set at will, do not conflict with the system port line, subsystem Port 22, is also the SSH default connection port

Next use SSH to connect 127.0.0.1, on the line

VirtualBox SSH Connection using NAT mode

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.