secureCRT连接服务器报错:Unable to authenticate
Posted yangxiaochu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了secureCRT连接服务器报错:Unable to authenticate相关的知识,希望对你有一定的参考价值。
用secureCRT连接远程服务器时报错:
1 The client has disconnected from the server.Reason: 2 Unable to authenticate using any of the configured authentication methods.
把key粘贴到其他用户是可以登陆的,说明本身key不存在问题,但是一直报错用户名或者key错误
登陆服务器查看auth.log
1 cat auth.log 2 Nov 15 11:20:24 hp06 sshd[31533]: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys 3 Nov 15 11:20:24 hp06 sshd[31533]: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys
解决办法:chmod 600 /home/user/.ssh/authorized_keys
以上是关于secureCRT连接服务器报错:Unable to authenticate的主要内容,如果未能解决你的问题,请参考以下文章
连接mysql客户端报错: java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password
TortoiseGit Push报错 “Couldn't load this key(unable to open file)” 解决
Ubuntu 报错 sudo: unable to resolve host
Spring Cloud 客户端报错:- was unable to send heartbeat!
连接池报错 Proxool Provider unable to load JAXP configurator file: proxool.xml