Xshell Unable to connect to CentOS 6.6 problem

Source: Internet
Author: User

Recently, in the pre-research of MySQL cluster configuration, we need to install CentOS 6.6 on VirtualBox. After installing CentOS on the online tutorial, there is a problem: the text content outside the virtual machine cannot be copied and pasted into the CentOS terminal. Ask before, he suggested I use Xshell this third-party plug-in, do not know what reason has been unable to connect to the CentOS system, after nearly 1 days of time, finally fix, first put the solution record as follows.

1, Virtual machine network option settings, select host-only Adapter

2, setting up the local network

3, set the IP of the VirtualBox virtual network card

4, specify the IP in CentOS

5. Edit the CentOS IP on the same network segment as the VirtualBox virtual network card IP in Windows

6, Ping the virtual machine on Windows to see if you can ping the

7, using Xshell connection, session mode select SSH, fill in the virtual host IP address

8. The virtual machine NIC is set to NAT mode, then you can surf the Internet in the virtual machine and visit the website using the browser.

9. Other

CentOS on-check settings:

1. Turn off pre-fire

Service Iptables Stop

Chkconfig iptables off

2. Start the SSH service

Service sshd Start

Xshell Unable to connect to CentOS 6.6 problem

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.