ssh Permission denied, please try again.
时间: 2023-10-31 20:20:28 浏览: 235
出现"ssh Permission denied, please try again"的错误提示可能有几个原因。首先,可能是输入的账号或密码有,应该检查输入的账号和密码是否正确。其次,可能是该账号被禁止登录了,可以查看sshd配置文件中是否有将该账号禁止登录的设置。最后,如果以root用户登录出现该错误提示,可能是配置文件中将root设置为不允许远程登录,可以编辑sshd配置文件,将PermitRootLogin设置为yes,以允许root登录,并重新启动sshd服务。
另外,根据引用的信息,还有可能是连接到upstream时出现了权限拒绝的错误,这可能与服务器的文件权限或访问控制有关。可以检查相关文件的权限设置,确保用户具有足够的权限来连接到upstream。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [SSH连服务器提示“Permission denied,please try again”的原因与解决办法](https://blog.csdn.net/u013007181/article/details/121109027)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [详解Nginx 13: Permission denied 解决方案](https://download.csdn.net/download/weixin_38637093/14093900)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文