Host based authentication and SSH CA.
Peter Ankerstål
peter at pean.org
Tue Nov 11 22:40:48 EST 2014
On 11/07/2014 12:29 PM, Damien Miller wrote:
> On Fri, 7 Nov 2014, Peter Ankerst?l wrote:
>
>>> What principals (if any) are associated with the host cert?
>>
>> Right now i dont have any principals at all in the host cert.
>
> That's likely the problem then. The principals should list the
> hostname(s) of the server.
>
> (I agree that the documentation here is terrible).
>
>>> If I recall correctly, sshd will use the FQDN when validating the key or
>>> certificate offered by the client. Thus, if you specified any principals
>>> for the certificate, the list must include the FQDN and the pattern for
>>> teh @cert-authority entry needs to also match the FQDN.
>>
>> When logging with key based authentication the host CA works fine.
>>
>> debug1: Host 'm3' is known and matches the ECDSA-CERT host certificate.
>> debug1: Found CA key in /etc/ssh/ssh_known_hosts:1
>>
>> But when doing hostbased authentication it first gives me those two lines but
>> then tries to look for m3 specifically in ssh_known_hosts.
>
> That's strange - I'll take a look via the bug.
>
> -d
>
Any news on this? This is really starting to bug me.
/Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3738 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20141111/014eff42/attachment.bin>
More information about the openssh-unix-dev
mailing list