vi /etc/rc.d/rc.local
#-----add---------
/etc/rc.d/init.d/sshd start
service sshd start
开机自动启动ssh
猜你喜欢
转载自billycer.iteye.com/blog/1019050
今日推荐
周排行