From 2779b66e5dc8d0278dcde921ed29fc60ce89f181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 29 Jun 2015 00:09:02 +0300 Subject: [PATCH] ssh: Complete HostbasedKeyTypes,HostKeyAlgorithms,KexAlgorithms values --- completions/ssh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/completions/ssh b/completions/ssh index 7cd1c862..f974a176 100644 --- a/completions/ssh +++ b/completions/ssh @@ -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" ) ) ;;