1.vi/etc/inittab id:3:initdefault:;reboot2.ps-ef|grepsshd;防火墙打开22端口。3.在linux中,ifconfig-a查看ip地址。打开putty,ip地址为查看到的ip地址。端口22。连接类型为ssh。打开。