Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: Negated patterns in AllowedUsers

Subject: RE: Negated patterns in AllowedUsers
Date: Sat, 8 Sep 2007 13:49:21 +0300
I thik the better way is to just uncomment the following line in 
/etc/ssh/sshd_config:
#PermitRootLogin yes

And change it to:
PermitRootLogin no

My 2 cents,
FasT

On Thu, Sep 06, 2007 at 01:52:17AM +0200, Radek Hladik wrote:>
Hi,
     all I wanted was to force SSHd to accept root logins only from 
     localhost.

If nobody else comes up with an answer, then try this one:

Run two (or more) instances of sshd.  Bind one of them to the loopback 
interface, and let it allow
root users.  Bind the other(s) to the "real"
network interface(s), and let them deny root users.


<Prev in Thread] Current Thread [Next in Thread>