sudo service ssh restart 或sudo /etc/init.d/ssh restart确认sshserver否启:ps -e |grep ssh看sshd说明ssh-server已经启