Ubuntu开启SSH

  ubuntu18.04默认安装不带ssh,需要安装

 apt-get install openssh-server

  启动

systemctl start sshd
systemctl enable sshd

  查看

lsof -i:22

 

posted @ 2019-05-06 11:22  minseo  阅读(305)  评论(0编辑  收藏  举报