[openssh_client 0005127]: ssh error messages
Mantis Bug Tracker via bug-notifications
bug-notifications at lists.opencsw.org
Fri Nov 29 13:15:07 CET 2013
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=5127
======================================================================
Reported By: rrossi33
Assigned To: yann
======================================================================
Project: openssh_client
Issue ID: 5127
Category: regular use
Reproducibility: always
Severity: tweak
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2013-11-29 11:30 CET
Last Modified: 2013-11-29 13:15 CET
======================================================================
Summary: 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:
======================================================================
----------------------------------------------------------------------
(0010650) yann (manager) - 2013-11-29 13:15
https://www.opencsw.org/mantis/view.php?id=5127#c10650
----------------------------------------------------------------------
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 at 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 https://www.opencsw.org/mantis/view.php?id=1981, ok djm@
and it has been fixed in OpenSSH 6.3 by this change:
- dtucker at 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
More information about the bug-notifications
mailing list