安装ssh

sudo apt-get install openssh-server

启动ssh

/etc/init.d/ssh start

检查侦听端口

netstat -antp|grep 22