2.11.2.ubuntu14.04 Internet and Installation OpenSSH

Source: Internet
Author: User

This section details ubuntu14.04 network configuration issues, then installs Openssh-server, and finally logs in with Sshsecureshell.

2.11.2.1, ubuntu14.04 Internet problem

(1) There are 2 modes of virtual machine surfing, Nat and bridging.
(2) Virtual machine Internet configuration should pay attention to these places: the first to pay attention to the choice of Nat or bridging mode, the second to note that the network configuration file/etc/network/interfaces in Ubuntu, this file is configured with NIC information (such as static IP or DHCP, Static IP address is how much, etc.); If the bridge mode is to pay attention to the bridge to which network card (the General notebook has 2 network cards, one is a wired network card is a wireless network card), if the NAT mode does not matter.
(3) The command to restart the NIC in ubuntu14.04 has changed.
(4) Demo: Internet configuration process under NAT mode.
The premise is that the host Windows is connected via Wi-Fi (or Windows is available via wired Internet access). Then configure 2 points in the virtual machine: The first choice NAT mode, the second configuration/etc/network/inerfaces file using DHCP mode, and then restart the network card, verify that the IP address is available to the Internet.
(5) Demo: Bridge mode Internet configuration process.
The premise is that the host windows through the wireless WiFi internet (the host through the wired network card configuration of the Internet is different). Then in the virtual machine configuration Note Three points: the first choice of bridging mode, the second configuration bridge to the wireless network card (if the host Windows is wired to the network, the bridge to the wired card), the third configuration/etc/network/inerfaces file use DHCP, and then restart the network card, Verify that the IP address is available after the Internet.
(6) Demo: Virtual confidential ping through the Development Board configuration process.
The premise is that the development Board and the computer through the network cable Connection good. Then configure the virtual machine in three points: the first choice Bridge, the second configuration bridge to the wired network card (if configured to automatically or configure the bridge to the wireless card will certainly not ping the Development Board); The third configuration/etc/network/inerfaces file uses the static method, IP address configuration guarantee and host Windows, Development Board three in the same network segment, and then restart the network card, verify that the IP address can be ping through the Development Board.
(7) There is a bug in Windows system, if Windows does not detect that the wired network card is connected to the external network, the local area Connection in Windows is not working, and the NIC does not work. The solution is to use a network cable casually connected to a network of things, such as a network cable to connect your computer to the next brother's computer, such as plug in your development Board (the Development Board running Linux system), such as plug in the router port.

2.11.2.2, build OpenSSH environment

(1) Install the ssh-server. (sudo apt-get install openssh-server) If the error message is dependent on errors, refer to: http://www.cnblogs.com/mliudong/p/4094519.html
(2) SECURECRT Login
(3) Sshsecureshell Login
SSH login is not on, to modify/etc/ssh/sshd_config, refer to: http://blog.sina.com.cn/s/blog_5f435c130102v6pv.html. If/etc/init.d/ssh Restart does not work when you finish modifying the restart, you can use: PS-E | grep ssh, look at the sshd process number, and then kill-9 process number to kill the SSH process to achieve the purpose of restarting, or directly restart the Ubuntu system

2.11.2.ubuntu14.04 Internet and Installation OpenSSH

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.