ssh: Complete HostbasedKeyTypes,HostKeyAlgorithms,KexAlgorithms values

master
Ville Skyttä 2015-06-29 00:09:02 +03:00
parent cf4c7ebf6c
commit 2779b66e5d
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,12 @@ _ssh_suboption()
COMPREPLY=( $( compgen -W 'af1{1..4} af2{2..3} af3{1..3} af4{1..3}
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)
COMPREPLY=( $( compgen -W '1 2 1,2 2,1' -- "$cur" ) )
;;