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: Multiple authorized_keys2 files or how to achieve same effect. |
|---|---|
| Date: | Thu, 01 Sep 2005 17:42:42 +0200 |
Hello,
Good luck
Guillaume Vissian Président de l'Association d'Audit de Sécurité 53, rue de Grenelle 75007 Paris
Jeremy Eder wrote:
My situation: multiple admins needing root on hundreds of boxes.
Currently: using pubkeyauth on openssh (mostly bsd but linux and solaris too)
Goal: ease add/remove of credentials from machines (one-off or globally in our network)
Each server may have a completely different (and still valid) list of users in the authkeys2 file.
Instead of getting messy with sed/cat/grep...I began to research if it was possible to have multiple authorized_keys2 files, or at least be able to put directives to separate public key files in the global authorized_keys2. This would make the management of my setup much easier...
Something like...
AuthorizedKeysFile .ssh/authorized_keys2 AuthorizedKeysFile .ssh/user1 AuthorizedKeysFile /ssh/user2
Etc etc...
Then I can control access to the box simply by creating or deleting that file and one line in the conf.
Am I looking in the right direction ? I haven't yet discovered a way to do this under openssh; however .ssh/authorization under ssh2 seems to provide the exact feature I am thinking of. Not an option...
Is this possible ? Is there some other practice that is more accepted that I'm not aware of ?
Thanks for your help.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Multiple authorized_keys2 files or how to achieve same effect., Jeremy Eder |
|---|---|
| Next by Date: | Re: Multiple authorized_keys2 files or how to achieve same effect., Derek Martin |
| Previous by Thread: | Multiple authorized_keys2 files or how to achieve same effect., Jeremy Eder |
| Next by Thread: | Re: Multiple authorized_keys2 files or how to achieve same effect., Derek Martin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |