ssh: Complete HostbasedKeyTypes,HostKeyAlgorithms,KexAlgorithms values

This commit is contained in:
Ville Skyttä 2015-06-29 00:09:02 +03:00
parent cf4c7ebf6c
commit 2779b66e5d

View File

@ -90,6 +90,12 @@ _ssh_suboption()
COMPREPLY=( $( compgen -W 'af1{1..4} af2{2..3} af3{1..3} af4{1..3} COMPREPLY=( $( compgen -W 'af1{1..4} af2{2..3} af3{1..3} af4{1..3}
cs{0..7} ef lowdelay throughput reliability' -- "$cur" ) ) cs{0..7} ef lowdelay throughput reliability' -- "$cur" ) )
;; ;;
HostbasedKeyTypes|HostKeyAlgorithms)
COMPREPLY=( $( compgen -W '$( _ssh_query $2 key )' -- "$cur" ) )
;;
KexAlgorithms)
COMPREPLY=( $( compgen -W '$( _ssh_query $2 kex )' -- "$cur" ) )
;;
Protocol) Protocol)
COMPREPLY=( $( compgen -W '1 2 1,2 2,1' -- "$cur" ) ) COMPREPLY=( $( compgen -W '1 2 1,2 2,1' -- "$cur" ) )
;; ;;