openssh-server

  • 安装

apt-get install openssh-server

  • 配置

sudo gedit /etc/ssh/sshd_config

PermitRootLogin without-password 改为 PermitRootLogin yes

  • 重启

sudo /etc/init.d/ssh restart

posted @ 2016-04-12 09:36  ahuo  阅读(424)  评论(0编辑  收藏  举报