Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596520 - net-misc/openssh-7.3_p1-r6 offering private key as public key?
Summary: net-misc/openssh-7.3_p1-r6 offering private key as public key?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Auditing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-08 09:12 UTC by PetaMem R&D
Modified: 2016-10-08 15:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2016-10-08 09:12:36 UTC
After not being able to connect to a server via public key, I turned on debugging and saw this:

ebug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/user/.ssh/id_rsa

^^^^^^ WTF?  id_rsa.pub is my public key

debug1: Authentications that can continue: publickey,keyboard-interactive


vvvvvv correct

debug1: Trying private key: /home/user/.ssh/id_dsa
debug1: Trying private key: /home/user/.ssh/id_ecdsa
debug1: Trying private key: /home/user/.ssh/id_ed25519
debug1: Next authentication method: keyboard-interactive
Password: 


Is this only an error in the debug text or is something worse going on?


Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2016-10-08 14:54:00 UTC
You are misinterpreting the debug message.
Comment 2 PetaMem R&D 2016-10-08 15:08:03 UTC
Ok.

RESOLVED: The debug message is crap.