Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 1/1] autocompletion: make ssh aware of ed25519



Christian Hesse <mail@xxxxxxxx> writes:

> @@ -223,6 +223,7 @@ _ssh () {
>                'ecdsa-sha2-nistp256-cert-v01@xxxxxxxxxxx' \
>                'ecdsa-sha2-nistp384-cert-v01@xxxxxxxxxxx' \
>                'ecdsa-sha2-nistp521-cert-v01@xxxxxxxxxxx' \
> +              'ssh-ed25519-cert-v01@xxxxxxxxxxx' \
>                'ssh-rsa-cert-v01@xxxxxxxxxxx' \
>                'ssh-dss-cert-v01@xxxxxxxxxxx' \
>                'ssh-rsa-cert-v00@xxxxxxxxxxx' \
> @@ -230,6 +231,7 @@ _ssh () {
>                'ecdsa-sha2-nistp256' \
>                'ecdsa-sha2-nistp384' \
>                'ecdsa-sha2-nistp521' \
> +              'ssh-ed25519' \
>                'ssh-rsa' \
>                'ssh-dss' && ret=0
>            ;;

Perhaps it would be better to parse the output of "ssh -Q cipher" and
"ssh -Q key", but "ssh -Q" is not supported by older versions of OpenSSH
(neither is ed25519 there...).

-- 
Christian Neukirchen  <chneukirchen@xxxxxxxxx>  http://chneukirchen.org



Messages sorted by: Reverse Date, Date, Thread, Author