Bug 2505

Summary: key_load_private_type: unknown or unsupported key type
Product: Portable OpenSSH Reporter: Iain Morgan <imorgan>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: minor CC: djm
Priority: P5    
Version: 7.1p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 2451    
Attachments:
Description Flags
Only load RSA1 host key if SSH1 support was enabled none

Description Iain Morgan 2015-11-21 11:32:12 AEDT
Created attachment 2755 [details]
Only load RSA1 host key if SSH1 support was enabled

When using hostbased authentication as root, and protocol v1 support has
not been enabled, ssh(1) gives the following complaint:

# ssh testacct@somehost pwd
key_load_private_type: unknown or unsupported key type
/u/testacct

This only occurs for root, and only if an RSA1 host key is present. The
issue is that ssh(1) will attempt to load the RSA1 key even if SSH1
support was not enabled at build-time.
Comment 1 Damien Miller 2015-12-11 14:10:22 AEDT
*** Bug 2504 has been marked as a duplicate of this bug. ***
Comment 2 Damien Miller 2015-12-11 14:20:58 AEDT
applied - thanks
Comment 3 Damien Miller 2018-04-06 12:26:51 AEST
Close all resolved bugs after release of OpenSSH 7.7.