0
点赞
收藏
分享

微信扫一扫

远程连接linux主机错误a public key file has not been specified for this session与all available gssapi mechanis


腾讯云轻量应用服务器或者vagrant虚拟主机,SSH2连接可能会出现

远程连接linux主机错误a public key file has not been specified for this session与all available gssapi mechanis_腾讯云

取消如下公钥

远程连接linux主机错误a public key file has not been specified for this session与all available gssapi mechanis_腾讯云_02

错误all available gssapi mechanisms failed,去掉公钥,有的会出现这个错误

远程连接linux主机错误a public key file has not been specified for this session与all available gssapi mechanis_1024程序员节_03

进入sshd_config配置文件 ,将PasswordAuthentication 的属性 no 改为 yes

vi /etc/ssh/sshd_config

然后重启一下:service sshd restart



举报

相关推荐

0 条评论