1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-18 15:21:16 +02:00

* 20583: Completion/Unix/Command/_ssh: complete "modern" options

such as GSSAPIAuthentication.
This commit is contained in:
Clint Adams 2004-11-27 17:41:22 +00:00
parent fdae219903
commit 9a68e6425b
2 changed files with 17 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2004-11-24 Clint Adams <clint@zsh.org>
* 20583: Completion/Unix/Command/_ssh: complete "modern" options
such as GSSAPIAuthentication.
2004-11-27 Doug Kearns <djkea2@gus.gscit.monash.edu.au> 2004-11-27 Doug Kearns <djkea2@gus.gscit.monash.edu.au>
* 20584: Completion/Unix/Command/_screen: offer multiuser screen * 20584: Completion/Unix/Command/_screen: offer multiuser screen

View file

@ -213,22 +213,29 @@ _ssh () {
else else
_wanted values expl 'configure file option' \ _wanted values expl 'configure file option' \
compadd -M 'm:{a-z}={A-Z}' -S '=' - \ compadd -M 'm:{a-z}={A-Z}' -S '=' - \
AFSTokenPassing BatchMode BindAddress CheckHostIP \ AddressFamily \
AFSTokenPassing BatchMode BindAddress \
ChallengeResponseAuthentication CheckHostIP \
Cipher Ciphers ClearAllForwardings Compression \ Cipher Ciphers ClearAllForwardings Compression \
CompressionLevel ConnectionAttempts DynamicForward \ CompressionLevel ConnectionAttempts ConnectTimeout \
DynamicForward EnableSSHKeysign \
EscapeChar FallBackToRsh ForwardAgent ForwardX11 \ EscapeChar FallBackToRsh ForwardAgent ForwardX11 \
GatewayPorts GlobalKnownHostsFile HostbasedAuthentication \ ForwardX11Trusted \
GatewayPorts GlobalKnownHostsFile GSSAPIAuthentication \
GSSAPIDelegateCredentials HostbasedAuthentication \
HostKeyAlgorithms HostKeyAlias HostName IdentityFile \ HostKeyAlgorithms HostKeyAlias HostName IdentityFile \
IdentitiesOnly \
KeepAlive KerberosAuthentication KerberosTgtPassing \ KeepAlive KerberosAuthentication KerberosTgtPassing \
LocalForward LogLevel MACs NoHostAuthenticationForLocalhost \ LocalForward LogLevel MACs NoHostAuthenticationForLocalhost \
NumberOfPasswordPrompts PreferredAuthentications \ NumberOfPasswordPrompts PreferredAuthentications \
PasswordAuthentication Port Protocol ProtocolKeepAlives \ PasswordAuthentication Port Protocol ProtocolKeepAlives \
ProxyCommand PubkeyAuthentication RemoteForward \ ProxyCommand PubkeyAuthentication RemoteForward \
RhostsAuthentication RhostsRSAAuthentication \ RhostsAuthentication RhostsRSAAuthentication \
RSAAuthentication ChallengeResponseAuthentication \ RSAAuthentication ServerAliveInterval ServerAliveCountMax \
SetupTimeOut SmartcardDevice StrictHostKeyChecking \ SetupTimeOut SmartcardDevice StrictHostKeyChecking \
TCPKeepAlive \
UsePrivilegedPort User UserKnownHostsFile UseRsh \ UsePrivilegedPort User UserKnownHostsFile UseRsh \
XAuthLocation && ret=0 VerifyHostKeyDNS XAuthLocation && ret=0
fi fi
;; ;;
forward) forward)