# /etc/init.d/ssh start
# /etc/init.d/ssh status
修改配置文件:(配置为能以root用户进行SSH登录)
# vim /etc/ssh/sshd_config
将 #PermitRootLogin prohibit-password
改为 PermitRootLogin yes
将 #PasswordAuthentication no
改为 PasswordAuthentication yes
# update-rc.d ssh enable
将ssh配置为守护进程开机自启(类似于Windows下的服务)
# update-rc.d ssh disabled
将ssh配置为非守护进程