1. Mac 使用ssh命令无法成功 ssh localhost,但是可以ssh其他的

可能原因:ssh服务未启动

解决方法:

1.启动sshd服务:

sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist

2.查看服务的启动,筛选:
      sudo launchctl list | grep ssh

相关文章:

  • 2021-10-19
  • 2021-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2021-07-11
  • 2021-09-14
  • 2021-09-18
猜你喜欢
  • 2021-07-26
  • 2022-12-23
  • 2021-11-03
  • 2021-07-15
  • 2021-10-10
  • 2021-07-02
  • 2021-12-01
相关资源
相似解决方案