Solution to failure of SecureCRT to connect Ubuntu14.0.4.1

Source: Internet
Author: User
Problem description: The Ubuntu14.0.4.1 virtual server is re-installed through VirtualBox. When the root account is used to connect to Ubuntu14.0.4.1 in SercureCRT, the message "& ldquo; PasswordAuthenticationFailed, pleaseverifythattheusernameandpasswordar. & rdquo; re-enter the password and check the Problem description repeatedly

The Ubuntu 14.0.4.1 virtual server is re-installed through VirtualBox. When the root account is used in SercureCRT to connect to Ubuntu14.0.4.1, the message "Password Authentication Failed, Please verify that the username and password are correct. "re-enter the password, repeatedly check the password multiple times and re-enter the correct password, or prompt the same error.

Solution

1. log on to the VM terminal using the root account and edit the/etc/ssh/sshd_config file.

vi /etc/ssh/sshd_config

2. Locate the Authentication configuration section, change PermitRootLogin without-password to PermitRootLogin yes, and save the settings.

# Authentication:LoginGraceTime 120#PermitRootLogin without-passwordPermitRootLogin yesStrictModes yes

Note: sshd_config is the ssh configuration file. The PermitRootLogin option is used to configure whether to allow the root user to log on. The default without-password indicates that the password is not allowed for full login authentication, yes, root login is allowed.

3. Restart the ssh service to connect to the server through SercureCRT.

service ssh restart

Using SecureCRT to realize two-way communication between WIN7 and Linux and solve the problem of mutual File Transfer http://www.linuxidc.com/Linux/2014-08/105412.htm

How to log on to Ubuntu http://www.linuxidc.com/Linux/2011-03/33024p4.htm via SSH using SecureCRT6.6.2

SecureCRT connection Ubuntu http://www.linuxidc.com/Linux/2013-06/85824.htm

Ubuntu 12.04 + Virtual Machine VMware 9 + Secure CRT + EditPlus local C ++ Development Environment build http://www.linuxidc.com/Linux/2013-05/84820.htm

Transfer File http://www.linuxidc.com/Linux/2014-08/105413.htm between Linux and Windows using SecureCRT

Install SecureCRT 14.10 http://www.linuxidc.com/Linux/2014-10/108709.htm in Ubuntu 7.3

SecureCRT: Click here
SecureCRT: Click here

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-03/114579.htm

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.