| Summary: | "UseDNS no" breaks public key login | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | w sanders <wsanders1> |
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
w sanders
2003-09-27 07:34:18 AEST
are you talking about HostBased authentication, or user PublicKeyAuthentication? Ahhh, this was a usage error. You can close this bug. "UseDNS no" stops all DNS references from occurring - I had expected it to only disable the restriction that the host's IP be findable in a PTR DNS record. What was actually happening is that from="<FQDN>" was in my authorized_keys file, and then "UseDNS no" prevented sshd from looking up the IP of foo. SO sshd would complain "Your host '11.22.33.44' is not permitted to use this key for login." when it also meant "key found in the authorized_keys file for <GQDN> but not for 11.22.33.44". The correct use of "UseDNS no" is to identify the key with 'from ="11.22.33.44"' (the double quotes are required) rather than 'from="<FQDN>". Mass change of RESOLVED bugs to CLOSED |