解决远程软件无法连接到谷歌服务器的问题

刚搭建好的谷歌服务器,通过远程软件连接可能会提示报错。
The client has disconnected from the server.Reason: Unable to authenticate using any of the configured authentication methods.
那么如何解决呢。
下面小编就带大家解决这个问题。
hhhhhhhhhh
一开口就知道老营销号了。

1.给root用户设置密码

打开谷歌浏览器自带的管理面板,输入命令:
1.切换至管理员

1
sudo -i

2.设置密码

1
passwd

2.开启SSH权限

1.编辑SSH配置文件/etc/ssh/sshd_config

1
vi /etc/ssh/sshd_config

2.修改下面两项

1
2
PermitRootLogin yes           //默认为no,需要开启root用户访问改为yes
PasswordAuthentication yes //默认为no,改为yes开启密码登陆

3.重启ssh服务

1
/etc/init.d/ssh restart

然后就可以通过远程软件连接了

  • © 2020-2021 Never
  • PV: UV:

请我喝杯咖啡吧~

支付宝
微信