The Linux command ifconfig in VMware has no eth0 information so Xshell cannot connect

Source: Internet
Author: User

When you enter Ifcongfig in the terminal does not appear eth0 any information or eth0 in the inet address is not, (all the settings are normal, using bridging mode) This time you only need to enter two commands to restart the network interface.

#ifdown eth0

#ifup eth0 now find the IP address can be used Xshell telnet.

If you are still not logged in, it is possible that your host is not installed openssh-server. At this point you can mount the program using the following command:

$:sudo apt-get Install Openssh-server

To see if the server is started:$:p s-ef |grep SSH
If you see /usr/sbin/sshd-dcommand to indicate that the service has been started or the service has not started, you need to start the server:
$:/etc/init.d/ssh start





The Linux command ifconfig in VMware has no eth0 information so Xshell cannot connect

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.