1、首先检查是否开启centos服务是否启用
chkconfig --list |grep sshd
2、输入完该命令后,终端窗口显示如下
sshd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
3、接着我们添加sshd随系统一起启动命令
chkconfig --level 5 sshd on
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
chkconfig --list |grep sshd
sshd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
chkconfig --level 5 sshd on