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. |

| Subject: | Re: PAM and SSH |
|---|---|
| Date: | Thu, 16 Mar 2006 20:34:14 -0500 |
Ron Wheeler wrote:Very slick and a lot less trouble.
I would like to allow ssh access from 1) anyone on the 192.168.1.0/24 network
or
2) anyone on a list of users.
An alternative to using pam_listfile (assuming you're using OpenSSH):
Put your chosen few users into a group, say, "sshusers" then put the following in sshd_config:
AllowGroups sshusers AllowUsers *@192.168.1.*
Thanks
Ron
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PAM and SSH, Darren Tucker |
|---|---|
| Next by Date: | SSH IDS, coder |
| Previous by Thread: | Re: PAM and SSH, Darren Tucker |
| Next by Thread: | Re: PAM and SSH, Darren Tucker |
| Indexes: | [Date] [Thread] [Top] [All Lists] |