腾讯云轻量应用服务器或者vagrant虚拟主机,SSH2连接可能会出现
取消如下公钥
错误all available gssapi mechanisms failed,去掉公钥,有的会出现这个错误
进入sshd_config配置文件 ,将PasswordAuthentication 的属性 no 改为 yes
vi /etc/ssh/sshd_config
然后重启一下:service sshd restart
远程连接linux主机错误a public key file has not been specified for this session与all available gssapi mechanis
阅读 62
2022-03-12
进入sshd_config配置文件 ,将PasswordAuthentication 的属性 no 改为 yes
vi /etc/ssh/sshd_config
然后重启一下:service sshd restart
精彩评论(0)