sshd won't reread the config file - Slackware 9.0
I'm having trouble making changes to my /etc/sshd/sshd_config file and having them take effect...
/etc/rc.d/rc.sshd stop /etc/rc.d/rc.sshd start work perfectly, but none of the changes I've made seem to be present. What I want to do is limit access to only myself (AllowUsers laura) and to disable sftp (by commenting out the appropriate Subsystem line). Does anyone know what I have to do to have sshd restart with the changed config file? Thanks! Laura |
Actually it should just do it.
Have you had a look at the log, and/or changed the loglevel... ? Cheers, Tink |
Call me crazy, but I can't even find where sshd dumps its logs to!
There's nothing in syslog about it, and I any variant of 'locate sshd | grep log' turns up nothing. |
Quote:
Quote:
Cheers, Tink |
Ok, I found it ( :p ). I did this:
Code:
bash-2.05b# /etc/rc.d/rc.sshd stop The changes to /var/log/messages as all this was happening was this: Code:
May 3 15:57:02 cleopatra -- MARK -- thanks, Laura |
Only if you addes your username but left the line commented ;}
Cheers, Tink |
nope, line's not commented. sorry :)
|
All times are GMT -5. The time now is 07:11 AM. |