通过阿里云后台线上登陆Linux。
输入命令:
vim ssh_config
Host *节点配置下新增下面的配置项
PasswordAuthentication yes
输入命令service sshd restart启用配置

再次尝试xshell发现可以直接使用账号密码登陆了,不需要公钥了。

相关文章:

  • 2021-11-27
  • 2021-10-23
  • 2021-04-27
  • 2021-06-15
  • 2022-01-17
  • 2021-11-21
  • 2021-12-19
  • 2021-10-05
猜你喜欢
  • 2021-10-27
  • 2021-10-29
  • 2021-08-08
  • 2021-11-10
  • 2022-12-23
  • 2022-01-29
  • 2021-04-19
相关资源
相似解决方案