[Bash-completion-commits] [bash-completion] 03/03: ssh: Complete HostbasedKeyTypes, HostKeyAlgorithms, KexAlgorithms values

Ville Skyttä scop-guest at moszumanska.debian.org
Sun Jun 28 21:09:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 2779b66e5dc8d0278dcde921ed29fc60ce89f181
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Jun 29 00:09:02 2015 +0300

    ssh: Complete HostbasedKeyTypes,HostKeyAlgorithms,KexAlgorithms values
---
 completions/ssh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/completions/ssh b/completions/ssh
index 7cd1c86..f974a17 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" ) )
             ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list