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: OpenSSH with gssapi-with-mic hostname questions |
|---|---|
| Date: | Mon, 17 Sep 2007 20:30:04 -0600 (MDT) |
On Mon, September 17, 2007 8:10 am, Simon Wilkinson wrote:
When I try and connect to that server the GSSAPI functionality in the SSH client tries to obtain a Kerberos host key for the actual reverse hostname (as noted in the KDC logs) which is not what I requested and of course fails.This name canonicalisation step is being performed by the GSSAPI library you are linking against. This behaviour was mandated by RFC1964, but has since been deprecated by the more recent Kerberos revisions. Some libraries may offer the ability to disable canonicalisation, but that will be controlled as part of your Kerberos configuration, rather than in the OpenSSH code.
Thanks, that's what I was wondering, the reference was great. For the completeness of the thread and archive posterity, the solution when using MIT Kerberos (unsure of heimdal or shishi) was to add an "rdns = no" entry to the [libdefaults] section of the krb5.conf file. I've posted a message to the MIT Kerberos mailing list to see if this can be done on a finer granularity but haven't heard yet. Thanks again. Joel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ssh restrictions (/etc/ssh_config), Martin Simovic |
|---|---|
| Next by Date: | Re: ssh restrictions (/etc/ssh_config), Rainer Peter Feller |
| Previous by Thread: | Re: OpenSSH with gssapi-with-mic hostname questions, Simon Wilkinson |
| Next by Thread: | ssh restrictions (/etc/ssh_config), Martin Simovic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |