Bug 666977
Summary: | SSH generates misleading errors when using public key authentication | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | mec74mer |
Component: | openssh | Assignee: | Petr Lautrbach <plautrba> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | collura, mgrepl, redhat.1998, rvokal, tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-16 19:50:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mec74mer
2011-01-03 21:23:25 UTC
please attach your /etc/ssh/sshd_config from the server and the /etc/ssh/ssh_config and ~/.ssh/config from the client (remove sensitive data before attaching) If you have any configuration items in the used authorized keys send them as well. I'm seeing this bug even if I explicitly add both the IP and the name of the client host to the "correct key" on the host ~username/.ssh/authorized_keys: from="CLIENT.IP, CLIENT_NAME" ssh-dss .....pub-key-comes-here.... comment Adding the client IP explicitly to /etc/hosts.allow: sshd: CLIENT.IP Doesn't help either. I keep getting this bogus message logged on every ssh connection by username from CLIENT.IP: "Authentication tried for username with correct key but not from a permitted host" It seems wrong. How can one set a permitted host besides being explicit in the relevant authorized_keys 'from=...' clause? /etc/ssh/sshd_config on the server side, has these host or otherwise possibly related settings: ------------------------------------------------------ StrictModes yes RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys # Don't read the user's ~/.rhosts and ~/.shosts files IgnoreRhosts yes # For this to work you will also need host keys in /etc/ssh_known_hosts RhostsRSAAuthentication no # similar for protocol version 2 HostbasedAuthentication no # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes ------------------------------------------------------ Since I do trust ~/.ssh/known_hosts I didn't uncomment that line. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |