How to Automatically Enable SSH Service On Centos 7 After Reboot

I thought it was a no-brainer that the SSH service shall start autmoatically be default one the box is rebooted. However it fails to happen on my Centos 7.

Hence here is the solution to add the server “sshd” explicitly into the automatic start list.

sudo systemctl enable sshd

Credits to orignal soluiton article here.

Also another quick note regarding automatically restart Samba service on Centos 7:

sudo systemctl enable smb.service

See the source image

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *