sshd_conf not updating

Linuxjedi

New member
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

I tried a reboot already still no effect.

Anybody has a idea about this issue

Thanks in advance
 
#LoginGraceTime 120
#PermitRootLogin no
#StrictModes yes


Yep i made the changes but they don't got active.

I have it on two boxes they have cpanel.

I tried locate sshd_conf sshd_config but i cant find another file.

Is the file maby beeing overruled by another?
Can this have something to do with pubkeys or so?

It is driving me nuts.
 
#LoginGraceTime 120
#PermitRootLogin no
#StrictModes yes

Is the problem: it should be like this!

#LoginGraceTime 120
PermitRootLogin no
#StrictModes yes

Remove the "#" from that line

Steve
 
Back
Top