树莓派-Ubuntu Mate开启ssh服务

1. 运行 apt search openssh-server 查看是否安装ssh服务。

2. 如已安装,运行 sudo dpkg-reconfigure openssh-server 重新配置shh服务。

3. 运行 sudo service ssh restart 重新启动服务后,使用 sudo service ssh status 查看服务状态。

4. 运行 sudo systemctl enable ssh 将ssh服务设置为用户登录时启动。

5. 在其他机器上尝试ssh连接: ssh user@ip_address

参考: https://linuxconfig.org/how-to-install-ssh-server-on-ubuntu-18-04-bionic-beaver-linux

原文地址:https://www.cnblogs.com/teacat/p/11376013.html