OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005127 [openssh_client] regular use tweak always 2013-11-29 11:30 2014-02-23 09:58
Reporter rrossi33 View Status public  
Assigned To yann
Priority normal Resolution won't fix  
Status closed  
Summary 0005127: ssh error messages
Description Hi

When you make ssh to Host/Server ,and you have no host keys.
Then you get

no such identity: /home/xxx/xxx/.ssh/id_rsa: No such file or directory
no such identity: /home/xxx/xxx/.ssh/id_dsa: No such file or directory
no such identity: /home/xxx/xxx/.ssh/id_ecdsa: No such file or directory
followed
by Password prompt.



ssh -vvv Output:

debug2: key: /home/xxx/xxx/.ssh/id_dsa (0), explicit
debug2: key: /home/xxx/xxx/.ssh/id_ecdsa (0), explicit
debug1: Authentications that can continue: publickey,password,keyboard-interactive,hostbased
debug3: start over, passed a different list publickey,password,keyboard-interactive,hostbased
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/xxx/xxx/.ssh/id_rsa
no such identity: /home/xxx/xxx.ssh/id_rsa: No such file or directory
debug1: Trying private key: /home/xxx/xxx/.ssh/id_dsa
no such identity: /home/xxx/xxx/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/xxx/xxx/.ssh/id_ecdsa
no such identity: /home/xxx/xxx/.ssh/id_ecdsa: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:

Output older ssh -vvv

ebug2: key: /home/xxx/xxx/.ssh/id_dsa (0)
debug2: key: /home/xxx/xxx/.ssh/id_ecdsa (0)
debug1: Authentications that can continue: publickey,password,keyboard-interactive,hostbased
debug3: start over, passed a different list publickey,password,keyboard-interactive,hostbased
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/xxx/xxx/.ssh/id_rsa
debug3: no such identity: /home/xxx/xxx/.ssh/id_rsa
debug1: Trying private key: /home/xxx/xxx/.ssh/id_dsa
debug3: no such identity: /home/xxx/xxx/.ssh/id_dsa
debug1: Trying private key: /home/xxx/xxx/.ssh/id_ecdsa
debug3: no such identity: /home/xxx/xxx/.ssh/id_ecdsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:

It seems that debug1 left in
Trying private key:






Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010646)
rrossi33 (reporter)
2013-11-29 11:33

OpenSSH_6.2.p1, OpenSSL 1.0.1e 11 Feb 2013

older ssh

OpenSSH_5.9p1, OpenSSL 0.9.8t 18 Jan 2012
(0010647)
yann (manager)
2013-11-29 12:06

This is strange, I don't reproduce your problem.

When I do the same as you I have the same output you habe with the old version:
[...]
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/yann/.ssh/id_rsa
debug3: no such identity: /home/yann/.ssh/id_rsa: No such file or directory
debug1: Trying private key: /home/yann/.ssh/id_dsa
debug3: no such identity: /home/yann/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/yann/.ssh/id_ecdsa
debug3: no such identity: /home/yann/.ssh/id_ecdsa: No such file or directory
[...]


I am currently using OpenSSH_6.4p1 which the last available in the unstable repository.

(0010650)
yann (manager)
2013-11-29 13:15

I retrieved OpenSSH_6.2 and indeed I can observe the same behavior.

It has been introduced in OpenSSH 6.2 by this change:
   - dtucker@cvs.openbsd.org 2013/02/15 00:21:01
     [sshconnect2.c]
     Warn more loudly if an IdentityFile provided by the user cannot be read.
     bz #1981, ok djm@


and it has been fixed in OpenSSH 6.3 by this change:

   - 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.


So you need to upgrade to the last Openssh package to fix this issue.
Is there a reason why you were still using Openssh 6.2 ?

Yann
(0010654)
rrossi33 (reporter)
2013-12-02 08:39

We are using the testing Opencsw Environment with Solaris10 (mirror.switch.ch)
openssh_client is there provided in Version 6.2.p1,REV=2013.05.02

Is Openssh Version 6.3 available in testing
(0010655)
rrossi33 (reporter)
2013-12-02 08:47

mirror.opencsw.org/opencsw/testing also provide Openssh Version 6.2.p1

unstable provide Version 6.4
(0010694)
yann (manager)
2014-02-02 21:48

Hi,

It seems that testing is not really updated since some time due to lack of manpower.

I will close this bug as it it fixed in unstable and the testing unfreshness is another issue.


Yann


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker