ubuntu18.04的服务器无法从客户端ssh连接,登录服务器报Failed to restart ssh.service: Unit ssh.service is masked,说明服务被禁用了,无法启动和管理
解决办法:
systemctl unmask ssh
systemctl restart ssh
ubuntu18.04的服务器无法从客户端ssh连接,登录服务器报Failed to restart ssh.service: Unit ssh.service is masked,说明服务被禁用了,无法启动和管理
解决办法:
systemctl unmask ssh
systemctl restart ssh