Bug 2084 - "no such identity" error messages.
Summary: "no such identity" error messages.
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 6.2p1
Hardware: Other Other
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_2
  Show dependency treegraph
 
Reported: 2013-04-04 01:00 AEDT by Michael Tust
Modified: 2016-08-02 10:41 AEST (History)
3 users (show)

See Also:


Attachments
Identityfile warnings fixes (9.29 KB, patch)
2013-04-05 13:51 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tust 2013-04-04 01:00:10 AEDT
badger:~
user1> ssh bazinga
no such identity: /home/user1/.ssh/id_dsa: No such file or directory
no such identity: /home/user1/.ssh/id_ecdsa: No such file or directory
bazinga:~

This first appeared after we upgraded a client to OpenSSH 6.2p1. Consistent on SunOS 9, AIX 6.1 and Oracle Enterprise Linux 4.8, 5.7 and 6.3.

I do not particularly care that these alternate keys do not exist.  Suggest moving these messages to debug level 1,2 or 3.
Comment 1 bugs 2013-04-05 01:16:18 AEDT
I'can confirm this for Archlinux:

https://bugs.archlinux.org/index.php?do=details&action=details.addvote&task_id=34490

This should be an "INFO". Or nothing at all? Having no keys stored is as normal as using keys.

Thank you
Comment 2 Darren Tucker 2013-04-05 13:51:34 AEDT
Created attachment 2238 [details]
Identityfile warnings fixes

Sorry about that.  We actually had this fixed but neglected to pull the changes into the portable version.

We're going to do a 6.2p2 release in a couple of weeks to pick up this change and anything else that crops up, in the mean time you can apply the attached patch which contains the following two changes, which should fix it (or grab a snapshot tomorrow, which will also have it).

   - dtucker@cvs.openbsd.org 2013/02/17 23:16:57
     [readconf.c ssh.c readconf.h sshconnect2.c]
     Keep track of which IndentityFile options were manually supplied and which
     were default options, and don't warn if the latter are missing.
     ok markus@

   - dtucker@cvs.openbsd.org 2013/02/22 04:45:09
     [ssh.c readconf.c readconf.h]
     Don't complain if IdentityFiles specified in system-wide configs are
     missing.  ok djm, deraadt.
Comment 3 Darren Tucker 2013-05-10 14:01:08 AEST
OK, the fix has been applied to both HEAD and the 6.2 branch:

http://anoncvs.mindrot.org/index.cgi/openssh/readconf.c?revision=1.174.6.1&view=markup&pathrev=V_6_2
http://anoncvs.mindrot.org/index.cgi/openssh/readconf.c?view=log&pathrev=MAIN

and will be in the 6.2p2 and subsquent releases.

Thanks.
Comment 4 Damien Miller 2016-08-02 10:41:37 AEST
Close all resolved bugs after 7.3p1 release