ubuntu开启ssh服务

1 sudo apt-get install openssh-server

2 检查sshd服务是否开启

    ps -ef| grep ssh

3 若没有启动,可以执行service ssh start

原文地址:https://www.cnblogs.com/stxyg/p/5360487.html