The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remote server, sshd stopped, no BMC

Discussion in 'General Discussion' started by rit.kh, Feb 19, 2015.

  1. rit.kh

    rit.kh Member

    Joined:
    Feb 19, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    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...
     
  2. rit.kh

    rit.kh Member

    Joined:
    Feb 19, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    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.
     
  3. rit.kh

    rit.kh Member

    Joined:
    Feb 19, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Never mind; installed webmin via the RPM installer.
    All good now!
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page