Re: Question about host key algorithms

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Luveh Keraph <1.41421@xxxxxxxxx> on Mon, 2020/03/02 14:07:
> When I do ssh -Q key, where ssh is the OpenSSH 7.4p1 client, I get the
> following output:
> 
> ssh-ed25519
> ssh-ed25519-cert-v01@xxxxxxxxxxx
> ssh-rsa
> ssh-dss
> ecdsa-sha2-nistp256
> ecdsa-sha2-nistp384
> ecdsa-sha2-nistp521
> ssh-rsa-cert-v01@xxxxxxxxxxx
> ssh-dss-cert-v01@xxxxxxxxxxx
> ecdsa-sha2-nistp256-cert-v01@xxxxxxxxxxx
> ecdsa-sha2-nistp384-cert-v01@xxxxxxxxxxx
> ecdsa-sha2-nistp521-cert-v01@xxxxxxxxxxx
> 
> The thing is,  one can invoke both client and server with -o
> HostKeyAlgorithms=rsa-sha2-256, or -o HostKeyAlgorithms=rsa-sha2-512, and
> everything's OK.
> 
> Why is it that rsa-sha2-* are not displayed in the output above? In fact,
> no option to -Q elicits them, and they are not mentioned in the OpenSSH
> client and server man pages.
> 
> Is this intentional?

You should query for HostKeyAlgorithms

ssh -Q HostKeyAlgorithms

That list should contain rsa-sha2-256 and rsa-sha2-512.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

Attachment: pgpf0LJSa8YZC.pgp
Description: OpenPGP digital signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux