[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-86-g45c9ff5

Ville Skyttä ville.skytta at iki.fi
Sun Dec 30 20:51:05 UTC 2012


The following commit has been merged in the master branch:
commit 45c9ff5f691cfb6decdba1bf362708a698b3d595
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Dec 30 22:50:58 2012 +0200

    ssh: Add some -o and related arg completions.

diff --git a/completions/ssh b/completions/ssh
index 9030aab..3531c16 100644
--- a/completions/ssh
+++ b/completions/ssh
@@ -17,22 +17,25 @@ _ssh_macs()
 _ssh_options()
 {
     compopt -o nospace
-    COMPREPLY=( $( compgen -S = -W 'AddressFamily BatchMode BindAddress \
-        ChallengeResponseAuthentication CheckHostIP Cipher Ciphers \
-        ClearAllForwardings Compression CompressionLevel ConnectionAttempts \
-        ConnectTimeout ControlMaster ControlPath DynamicForward EscapeChar \
-        ExitOnForwardFailure ForwardAgent ForwardX11 ForwardX11Trusted \
-        GatewayPorts GlobalKnownHostsFile GSSAPIAuthentication \
-        GSSAPIDelegateCredentials HashKnownHosts Host HostbasedAuthentication \
-        HostKeyAlgorithms HostKeyAlias HostName IdentityFile IdentitiesOnly \
-        KbdInteractiveDevices LocalCommand LocalForward LogLevel MACs \
-        NoHostAuthenticationForLocalhost NumberOfPasswordPrompts \
-        PasswordAuthentication PermitLocalCommand Port \
-        PreferredAuthentications Protocol ProxyCommand PubkeyAuthentication \
-        RekeyLimit RemoteForward RhostsRSAAuthentication RSAAuthentication \
-        SendEnv ServerAliveInterval ServerAliveCountMax SmartcardDevice \
-        StrictHostKeyChecking TCPKeepAlive Tunnel TunnelDevice \
-        UsePrivilegedPort User UserKnownHostsFile VerifyHostKeyDNS \
+    COMPREPLY=( $( compgen -S = -W 'AddressFamily BatchMode BindAddress
+        ChallengeResponseAuthentication CheckHostIP Cipher Ciphers
+        ClearAllForwardings Compression CompressionLevel ConnectionAttempts
+        ConnectTimeout ControlMaster ControlPath ControlPersist DynamicForward
+        EnableSSHKeysign EscapeChar ExitOnForwardFailure ForwardAgent
+        ForwardX11 ForwardX11Timeout ForwardX11Trusted GatewayPorts
+        GlobalKnownHostsFile GSSAPIAuthentication GSSAPIClientIdentity
+        GSSAPIDelegateCredentials GSSAPIKeyExchange GSSAPIRenewalForcesRekey
+        GSSAPIServerIdentity GSSAPITrustDns HashKnownHosts Host
+        HostbasedAuthentication HostKeyAlgorithms HostKeyAlias HostName
+        IdentityFile IdentitiesOnly IPQoS KbdInteractiveDevices KexAlgorithms
+        LocalCommand LocalForward LogLevel MACs
+        NoHostAuthenticationForLocalhost NumberOfPasswordPrompts
+        PasswordAuthentication PermitLocalCommand PKCS11Provider Port
+        PreferredAuthentications Protocol ProxyCommand PubkeyAuthentication
+        RekeyLimit RemoteForward RequestTTY RhostsRSAAuthentication
+        RSAAuthentication SendEnv ServerAliveCountMax ServerAliveInterval
+        SmartcardDevice StrictHostKeyChecking TCPKeepAlive Tunnel TunnelDevice
+        UsePrivilegedPort User UserKnownHostsFile VerifyHostKeyDNS
         VisualHostKey XAuthLocation' -- "$cur" ) )
 }
 
@@ -47,9 +50,10 @@ _ssh_suboption()
 
     case $prev in
         BatchMode|ChallengeResponseAuthentication|CheckHostIP|\
-        ClearAllForwardings|Compression|ExitOnForwardFailure|ForwardAgent|\
-        ForwardX11|ForwardX11Trusted|GatewayPorts|GSSAPIAuthentication|\
-        GSSAPIKeyExchange|GSSAPIDelegateCredentials|GSSAPITrustDns|\
+        ClearAllForwardings|ControlPersist|Compression|EnableSSHKeysign|\
+        ExitOnForwardFailure|ForwardAgent|ForwardX11|ForwardX11Trusted|\
+        GatewayPorts|GSSAPIAuthentication|GSSAPIKeyExchange|\
+        GSSAPIDelegateCredentials|GSSAPIRenewalForcesRekey|GSSAPITrustDns|\
         HashKnownHosts|HostbasedAuthentication|IdentitiesOnly|\
         KbdInteractiveAuthentication|KbdInteractiveDevices|\
         NoHostAuthenticationForLocalhost|PasswordAuthentication|\
@@ -67,9 +71,16 @@ _ssh_suboption()
         Cipher)
             COMPREPLY=( $( compgen -W 'blowfish des 3des' -- "$cur" ) )
             ;;
+        IPQoS)
+            COMPREPLY=( $( compgen -W 'af1{1..4} af2{2..3} af3{1..3} af4{1..3}
+                cs{0..7} ef lowdelay throughput reliability' -- "$cur" ) )
+            ;;
         Protocol)
             COMPREPLY=( $( compgen -W '1 2 1,2 2,1' -- "$cur" ) )
             ;;
+        RequestTTY)
+            COMPREPLY=( $( compgen -W 'no yes force auto' -- "$cur" ) )
+            ;;
         Tunnel)
             COMPREPLY=( $( compgen -W 'yes no point-to-point ethernet' \
                     -- "$cur" ) )

-- 
bash-completion



More information about the Bash-completion-commits mailing list