Let under linux ssh service to start automatically, you can be set by systemctl command.
1, set up ssh boot from the start
sudo systemctl enable ssh
Description: sudo is to enhance the authority, systemctl service manager, enable a systemctl
parameter indicates enabled to start automatically, ssh is the name of the service to be set.
After setting, you can view it with chkconfig boot status of ssh, on representation has been set boot from the start.
2, ssh disable the boot from the start
sudo systemctl disable ssh
Description: sudo is to enhance the authority, systemctl service manager, disable is systemctl
parameters, indicating the prohibition start running, ssh is the name of the service to be set.