当前位置:   article > 正文

使用ssh连接linux时出现的错误(Permission denied, please try again.)_linux ssh permission denied, please try again.

linux ssh permission denied, please try again.

1. 错误信息

  1. [09:35:44.900] Permission denied, please try again.
  2. [09:35:44.901] > root@192.168.10.152's password:  
  3. [09:35:44.903] Showing password prompt

2. 修复方式

        修改 ssh 配置文件

vim /etc/ssh/sshd_config
  1. PermitRootLogin yes
  2. PubkeyAuthentication no
  3. PasswordAuthentication yes

        重启 ssh 服务

/etc/init.d/ssh restart

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/177741
推荐阅读
相关标签
  

闽ICP备14008679号