一、ssh安装。

   1、# sudo apt-get -y install openssh-server

   2、在/etc/ssh/sshd_config文件中添加一句:PermitRootLogin yes

   3、查看ssh服务:# ps -ef| grep ssh。