Remote server, sshd stopped, no BMC

rit.kh

Member
Feb 19, 2015
7
0
1
cPanel Access Level
DataCenter Provider
Quick question: Is it possible to use cPanel (root login) to start the sshd service?

In a configuration brainfart I appeared to have stopped sshd, and the server I'm working on doesn't have its BMC connected. A way to restart the service would save me a 6 hour drive...
 

rit.kh

Member
Feb 19, 2015
7
0
1
cPanel Access Level
DataCenter Provider
Sorry, missed an invaluable detail there.
I've made a mistake in /etc/ssh/sshd_config. Line 109 would need to be removed.

So the real question is; is there any way of resetting/modifying the ssh_config from within cPanel?

- - - Updated - - -

For example, forcing the "Configuration File Rollback" on an sshd_config instead of the listed files.