1)开机启动ssh服务:chkconfig   sshd   on

2)重启ssh服务:service   sshd   restart

3)查看ssh服务的22端口:nmap   localhost