1.win10 安装ssh

sudo apt-get remove --purge openssh-server   ## 先删ssh
sudo apt-get install openssh-server          ## 在安装ssh  

1.安装ssh  可能出现第三步错误

sudo apt-get install openssh-client openssh-server 

 

  

3.win10 子系统安装ssh出现以下错误

E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success

 

解决方案

sudo rm -rf /etc/apt/apt.conf.d/20snapd.conf

4.启动ssh

service ssh start/status/stop

相关文章:

  • 2022-02-07
  • 2022-02-07
  • 2022-02-26
  • 2022-01-02
  • 2021-09-04
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2021-07-15
  • 2022-01-01
  • 2022-01-01
  • 2021-11-27
  • 2021-07-05
相关资源
相似解决方案