CentOS is used to set automatic start of a service. here, the sshd service is started as an example: Check whether sshd is a system service: # chkconfig -- list | grepsshd. The following figure is displayed: sshd0: off1: off2: off3: off4: off5: off6: offwww.2cto.com use...
CentOS sets automatic start of a service. Here we take the sshd service as an example: Check whether sshd is a system service: # chkconfig -- list | grep sshd will display: sshd 0: off 1: off 2: off 3: off 4: off 5: off 6: off www.2cto.com use the following command to set the sshd service to automatically start: # chkconfig -- level 5 sshd on to view it again:
Display, proving that the setting is successful! After the system is restarted, the access is successful with the SecureCRT tool!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service