码迷,mamicode.com
首页 > 系统相关 > 详细

解决xshell-ssh远程登录,只能通过public key登录导致无法登录的情况

时间:2021-06-13 10:49:47      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:远程   http   code   ica   shel   技术   password   mamicode   config   

xshell无法通过密码登录的问题如下:

技术图片

1、登录主机:vi /etc/ssh/sshd_config

2、搜索关键字:PasswordAuthentication

技术图片

3、将PasswordAuthentication no改为yes

技术图片

4、保存后重启网络设置:service sshd restart

技术图片

 5、xshell再次登录可密码登录

技术图片

 

 

 

解决xshell-ssh远程登录,只能通过public key登录导致无法登录的情况

标签:远程   http   code   ica   shel   技术   password   mamicode   config   

原文地址:https://www.cnblogs.com/mrwhite2020/p/14873461.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!