通过CRT远程登录Ubuntu时遇到报错:
The client has disconnected from the server. Reason:
Unable to authenticate using any of the configured authentication methods.
Ubuntu初始登录只能是普通用户,想用root登录,需普通用户登录,然后切换为root用户,先设置root密码,再更改sshd_config文件
注意:是sshd_config,而不是ssh_config
保存后重启ssh服务