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: | On why debugging OpenSSH can be so hard |
|---|---|
| Date: | Tue, 1 Jul 2008 16:02:46 -0400 |
At one point, it was not working, complaining with the message
debug3: mm_answer_keyallowed: key 0x67dc00 is disallowed
Now I just couldn't figure this out. Why did it not like my key?
/* Fail quietly if file does not exist */
if (stat(file, &st) < 0) {
/* Restore the privileged uid. */
restore_uid();
return 0;
}
/* Open the file containing the authorized keys. */
f = fopen(file, "r");
if (!f) {
/* Restore the privileged uid. */
restore_uid();
return 0;
}So in case you're wondering why debugging OpenSSH can be so hard, now you know. --
Maurice Volaski, mvolaski@aecom.yu.edu Computing Support, Rose F. Kennedy Center Albert Einstein College of Medicine of Yeshiva University
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Enforce Passphrase on keys, Michael Wisniewski |
|---|---|
| Next by Date: | Re: Enforce Passphrase on keys, Martin Simovic |
| Previous by Thread: | Enforce Passphrase on keys, Michael Wisniewski |
| Next by Thread: | Re: On why debugging OpenSSH can be so hard, Tonnerre Lombard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |