Bug 2505 - key_load_private_type: unknown or unsupported key type
Summary: key_load_private_type: unknown or unsupported key type
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 7.1p1
Hardware: All All
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
: 2504 (view as bug list)
Depends on:
Blocks: V_7_2
  Show dependency treegraph
 
Reported: 2015-11-21 11:32 AEDT by Iain Morgan
Modified: 2018-04-06 12:26 AEST (History)
1 user (show)

See Also:


Attachments
Only load RSA1 host key if SSH1 support was enabled (441 bytes, patch)
2015-11-21 11:32 AEDT, Iain Morgan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.