Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

sshd_conf not updating

Discussion in 'General Discussion' started by @home, Nov 20, 2003.

  1. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    121
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Hi there
    I was working on security on a new box.
    So i edit sshd_conf and made some changes.
    After that i saved and restart sshd i tried loggin in as root
    and that worked.
    But it was not supose to work because i change it in the conf file.
    When i look in sshd_conf i see the changes i made.
    But for a strange reason it is not changing on the server :confused:

    I tried a reboot already still no effect.

    Anybody has a idea about this issue

    Thanks in advance
     
  2. efeito

    efeito Well-Known Member
    PartnerNOC

    Joined:
    Jul 24, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    .pt
    Did you edited the right conf file?

    Try edit this one:

    "/etc/ssh/sshd_config "

    and then do this:

    "service sshd restart"

    No need for reboot
     
  3. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    121
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Yep i edit that file /etc/ssh/sshd_config

    And i even did a locate sshd_conf

    only the above came up.

    I use keys with putty but that can't be the problem.

    Is there any thing in the conf-file that can be wrong so it overrules the conf ?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice