Centos 6: Setup SSH to run on startup

By default SSH is not configured to run on startup. This means you will have to activate the service every time before being able to use SSH on the CentOS server.

To enable this to come back up after reboot run the following command.

chkconfig sshd on

This can be applied to any service you want to run on boot. Once this is done restart the server and SSH will be started

Advertisements

One thought on “Centos 6: Setup SSH to run on startup

  1. Pingback: SSH Connection | Motion Core Studio

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s