腾讯云轻量应用服务器或者vagrant虚拟主机,SSH2连接可能会出现
取消如下公钥
错误all available gssapi mechanisms failed,去掉公钥,有的会出现这个错误
进入sshd_config配置文件 ,将PasswordAuthentication 的属性 no 改为 yes
vi /etc/ssh/sshd_config
然后重启一下:service sshd restart
微信扫一扫
进入sshd_config配置文件 ,将PasswordAuthentication 的属性 no 改为 yes
vi /etc/ssh/sshd_config
然后重启一下:service sshd restart
相关推荐