Local Area network host Access server host under VMware virtual machine (Ubuntu 12.04.1) that's something

Source: Internet
Author: User

(1) First the virtual machine has SSH service installed

1) automatic installation of SSH service

Apt-get Install Openssh-server

When the installation is complete, the SSH service will automatically open.

2) Check to see if the SSH service is turned on

Netstat-pant | grep 22

If the above output appears, the SSH service installation is successful and is turned on.

Note: The following SSH service is required for remote login.

(2) Right-click Virtual Machine-"Properties-" Virtual machine settings

Set up

If you cannot access it later, set the option in the Red box to "automatic"

(3) Enter virtual machine Shell interface, execute ifconfig command to get network information of virtual machine

You need to set the virtual machine IP statically:/etc/network/interfaces

sudo vi/etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see Interfaces (5).

# The Loopback network interface
Auto Lo
Iface Lo inet Loopback

# The Primary network interface
#auto eth0
#iface eth0 inet DHCP
Auto Eth0
Iface eth0 inet Static
Address 192.168.2.128
Netmask 255.255.255.0
Gateway 192.168.2.2

Restart your Ubuntu network card
sudo/etc/init.d/networking restart

Well, try to access the virtual machine using the SSH remote tool.

Local Area network host Access server host under VMware virtual machine (Ubuntu 12.04.1) that's something

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.