Linux SSH Login permanently added (RSA) to the list of known hosts problem resolution

Source: Internet
Author: User

Article from Http://www.2cto.com/os/201307/227199.htmllinux SSH login permanently added (RSA) to the list of known hosts problem resolution   Login with user name + password The following issue occurred: 1[[email protected]]# ssh [email protected]2the authenticity of host ' xxx.xxx.xxx.xxx Can ' t be established.3rsa key fingerprint are f4:d0:1a:9c:09:65:78:71:25:33:79:c2:d5:aa:0b:c1.4are you sure your want to con Tinue connecting (yes/no)? No5host key Verification failed.6[[email protected]] #如果是直接输入yes1 [[email protected]]# ssh [email  Protected]2the authenticity of host ' xxx.xxx.xxx.xxx ' can ' t be established.3rsa key fingerprint is F4:d0:1a:9c:09:65:78:7 1:25:33:79:c2:d5:aa:0b:c1.4are you sure do want to continue connecting (yes/no)? yes5warning:permanently added ' xxx.xxx.xxx.xxx ' (RSA) to the list of known Hosts.6permission denied (Publickey,gssapi-wit H-mic,password). 7[[email protected]] #一, you can remove the ~/.ssh/known_hosts two, if still do not modify the/etc/ssh/sshd-config file, Modify the Permitrootlogin No to yes,pubkeyauthentication Yes to no,authorizedkeysfile. ssh/aUthorized_keys Front plus # shield off, passwordauthentication no change to Yes on it. Third, if there is still a problem, that one in the following way to solve: With the command ssh-l username Hostname1are you sure the want to continue connecting (yes/no)? 1, this is SSH security authentication is a R SA certification. You must select Yes to connect here. After the first yes, he will ask if you permanently add this RSA authentication to the local, select Yes, and no more reminders will appear. You only need to enter a password for each login. 2, you can also not enter the 1 yes, but need to modify the native configuration. 1   /etc/ssh/ssh_config in  stricthostkeychecking ask change to 3   stricthostkeychecking No

SSH login in Linux permanently added (RSA) to the list of known hosts problem resolution

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.