ssh安装(ubuntu)

  1.  apt-get update
  2. apt-get install openssh-server
  3. 修改配置文件  vim /etc/ssh/sshd_config  -> PermitRootLogin without password 修改为PermitRootLogin  yes
  4. 重启服务 service ssh restart
posted @ 2018-12-04 09:52  一沐春风  阅读(223)  评论(0编辑  收藏  举报