The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

ssh still allowing root login (solved)

SeñorAmorSeñorAmor !!!Registered User regular
edited January 2007 in Help / Advice Forum
I installed the latest version of Gentoo on a spare box here at the office, and emerge'd the latest version of ssh. I edited the config file with the "PermitRootLogin no" option, but it's still allowing root to login remotely. Anyone have any ideas?

SeñorAmor on

Posts

  • DrFrylockDrFrylock Registered User regular
    edited January 2007
    Restart the ssh service? I'm not sure how you do it on Gentoo. On most SysV-init-based systems it would be:

    /etc/init.d/sshd -restart

    DrFrylock on
  • CailYoungCailYoung Registered User regular
    edited January 2007
    Coming at this with no specific knowledge of anything here, but did you restart the sshd daemon to read the altered config file?

    EDIT: Snap!

    CailYoung on
    Freak this, I'm going to the toilet - Shaun Micallef
  • SeñorAmorSeñorAmor !!! Registered User regular
    edited January 2007
    Yup. Reloaded and restarted. Can still log in as root.

    Exact same setup as some of my other boxes (which work fine). This one is throwing me for a loop. :x

    Only thing I can think of is that it's either not reading the config file or I'm editing the wrong file. I've edited both /etc/ssh/ssh_config and sshd_config to no avail.

    SeñorAmor on
  • SeñorAmorSeñorAmor !!! Registered User regular
    edited January 2007
    Looks like a reboot fixed my problem. Not sure why, though.

    Strange...


    Consider this one solved. Lock away.

    SeñorAmor on
Sign In or Register to comment.