Putty (WINSCP) cannot connect to Linux (Ubuntu)

Source: Internet
Author: User

In order to be able to be compatible with the company's 64-bit system of the MapReduce program compiled by my own laptop, I removed my original 32-bit Ubuntu virtual machine and installed the latest ubuntu-14.04.2-desktop-amd64.iso.

But the problem has arisen, my winscp and putty are not connected to my Ubuntu system, after some exploration, summarized as follows ("#" below is the root user):

1. Network connection, network adapter, virtual machine, settings, should be changed to Bridge mode .

2. Note that when you change to bridging mode, your Ubuntu system's IP address changes, and the reader can test it with the shell command ifconfig. So after changing to bridging mode, the hostname on your WINSCP interface and host name on the Putty interface should be re-populated with the IP address of the Ubuntu system that you changed into bridging mode .

3. You should be able to ping the Ubuntu IP on your Windows system or ping your Windows IP on Ubuntu, but WinSCP and putty still can't connect to your Ubuntu.

4. This should be your Ubuntu system does not start the sshd, please #apt-get install openssh-server installation.

5. Then restart SSH:#/etc/init.d/ssh Restart

6. Test whether SSH is available: #ssh localhost

7. Found that the 6th step is still not connected, we now have a lore:reboot (restart your Ubuntu system)

8. Test #ps-E | grep ssh found ssh process, #ssh localhost found ssh success, at this time with WINSCP and putty to connect Ubuntu system, successfully!

Putty (WINSCP) cannot connect to Linux (Ubuntu)

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.