Bug 985964 - success on failing to connect to a non-existing host
Summary: success on failing to connect to a non-existing host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 19
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 15:32 UTC by Lubos Kocman
Modified: 2013-12-09 02:03 UTC (History)
4 users (show)

Fixed In Version: openssh-6.2p2-4.fc19
Clone Of:
Environment:
Last Closed: 2013-07-28 01:08:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenSSH Project 2122 0 None None None Never

Description Lubos Kocman 2013-07-18 15:32:38 UTC
Description of problem:

openssh should not celebrate success on failing to connect to unknown host

Version-Release number of selected component (if applicable):

openssh-clients-6.2p2-3.fc19.x86_64

How reproducible:


Steps to Reproduce:
1.ssh doesnotexist

Actual results:

ssh: Could not resolve hostname doesnotexist: Success

Expected results:

I don't see any success/win on being unable to connect to non-existing host

So I guess following message would be better
"ssh: Could not resolve hostname doesnotexist"

Additional info:

Comment 1 Petr Lautrbach 2013-07-19 07:32:48 UTC
The patch for this is already accepted by upstream and will be included in the next release. However, I'll use it with the next fedora update which will happen soon. Thanks, for the report.

Comment 3 Petr Lautrbach 2013-07-19 07:49:43 UTC
Workaround is to fix your resolver. You've probably got /etc/nsswitch.conf set with non-existent module.

Comment 4 Fedora Update System 2013-07-23 14:39:16 UTC
openssh-6.2p2-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/openssh-6.2p2-4.fc19

Comment 5 Fedora Update System 2013-07-24 03:23:03 UTC
Package openssh-6.2p2-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openssh-6.2p2-4.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13457/openssh-6.2p2-4.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-07-28 01:08:39 UTC
openssh-6.2p2-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-11-18 15:26:12 UTC
openssh-6.1p1-10.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openssh-6.1p1-10.fc18

Comment 8 Fedora Update System 2013-12-09 02:03:25 UTC
openssh-6.1p1-10.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.