| OLD | NEW |
| (Empty) |
| 1 #compdef conch | |
| 2 _arguments -s -A "-*" \ | |
| 3 '1:host | user@host:{_ssh;if compset -P "*@"; then _wanted hosts expl "remote ho
st name" _ssh_hosts && ret=0 elif compset -S "@*"; then _wanted users expl "logi
n name" _ssh_users -S "" && ret=0 else if (( $+opt_args[-l] )); then tmp=() else
tmp=( "users:login name:_ssh_users -qS@" ) fi; _alternative "hosts:remote host
name:_ssh_hosts" "$tmp[@]" && ret=0 fi}' \ | |
| 4 '*:command: ' \ | |
| 5 '(--noagent -a --agent)-A[Enable authentication agent forwarding]' \ | |
| 6 '(--noagent -a -A)--agent[Enable authentication agent forwarding]' \ | |
| 7 "(--ciphers)-c[Select encryption algorithms]:ciphers:_values -s , 'ciphers to ch
oose from' idea-ctr blowfish-ctr none arcfour aes256-ctr cast128-ctr idea-cbc bl
owfish-cbc 3des-cbc aes256-cbc 3des-ctr cast128-cbc aes128-ctr aes192-cbc aes192
-ctr aes128-cbc" \ | |
| 8 "(-c)--ciphers=[Select encryption algorithms]:ciphers:_values -s , 'ciphers to c
hoose from' idea-ctr blowfish-ctr none arcfour aes256-ctr cast128-ctr idea-cbc b
lowfish-cbc 3des-cbc aes256-cbc 3des-ctr cast128-cbc aes128-ctr aes192-cbc aes19
2-ctr aes128-cbc" \ | |
| 9 '(--compress)-C[Enable compression.]' \ | |
| 10 '(-C)--compress[Enable compression.]' \ | |
| 11 "(--connection-usage)-K[Connection types to use]:connection-usage:_values -s , '
connection types to choose from' unix direct" \ | |
| 12 "(-K)--connection-usage=[Connection types to use]:connection-usage:_values -s ,
'connection types to choose from' unix direct" \ | |
| 13 "(--escape)-e[Set escape character; \`\`none'' = disable]:escape:_files" \ | |
| 14 "(-e)--escape=[Set escape character; \`\`none'' = disable]:escape:_files" \ | |
| 15 '(--fork)-f[Fork to background after authentication.]' \ | |
| 16 '(-f)--fork[Fork to background after authentication.]' \ | |
| 17 '--help[Display this help and exit.]' \ | |
| 18 "--host-key-algorithms=[Select host key algorithms]:host-key-algorithms:_values
-s , 'host key algorithms to choose from' ssh-rsa ssh-dss" \ | |
| 19 '(--identity)-i[Identity for public-key authentication]:identity:_files' \ | |
| 20 '(-i)--identity=[Identity for public-key authentication]:identity:_files' \ | |
| 21 '--known-hosts=[File to check for host keys]:known-hosts:_files' \ | |
| 22 '(--localforward)-L[listen-port:host:port Forward local port to remote address
]:listen-port:host:port:_files' \ | |
| 23 '(-L)--localforward=[listen-port:host:port Forward local port to remote addres
s]:listen-port:host:port:_files' \ | |
| 24 '(--log)-v[Enable logging (defaults to stderr)]' \ | |
| 25 '(-v)--log[Enable logging (defaults to stderr)]' \ | |
| 26 '--logfile=[File to log to, or - for stdout]:logfile:_files' \ | |
| 27 "(--macs)-m[Specify MAC algorithms]:macs:_values -s , 'macs to choose from' hmac
-sha1 none hmac-md5" \ | |
| 28 "(-m)--macs=[Specify MAC algorithms]:macs:_values -s , 'macs to choose from' hma
c-sha1 none hmac-md5" \ | |
| 29 '(--agent -A --noagent)-a[Disable authentication agent forwarding (default)]' \ | |
| 30 '(--agent -A -a)--noagent[Disable authentication agent forwarding (default)]' \ | |
| 31 '(--nocache)-I[Do not allow connection sharing over this connection.]' \ | |
| 32 '(-I)--nocache[Do not allow connection sharing over this connection.]' \ | |
| 33 '(--noshell)-N[Do not execute a shell or command.]' \ | |
| 34 '(-N)--noshell[Do not execute a shell or command.]' \ | |
| 35 '(--notty)-T[Do not allocate a tty.]' \ | |
| 36 '(-T)--notty[Do not allocate a tty.]' \ | |
| 37 '(--nox11)-x[Disable X11 connection forwarding (default)]' \ | |
| 38 '(-x)--nox11[Disable X11 connection forwarding (default)]' \ | |
| 39 '(--null)-n[Redirect input from /dev/null.]' \ | |
| 40 '(-n)--null[Redirect input from /dev/null.]' \ | |
| 41 '(--option)-o[Ignored OpenSSH options]:option:_files' \ | |
| 42 '(-o)--option=[Ignored OpenSSH options]:option:_files' \ | |
| 43 '(--port)-p[Connect to this port. Server must be on the same port.]:port:_files
' \ | |
| 44 '(-p)--port=[Connect to this port. Server must be on the same port.]:port:_file
s' \ | |
| 45 '(--reconnect)-r[Reconnect to the server if the connection is lost.]' \ | |
| 46 '(-r)--reconnect[Reconnect to the server if the connection is lost.]' \ | |
| 47 '(--remoteforward)-R[listen-port:host:port Forward remote port to local addres
s]:listen-port:host:port:_files' \ | |
| 48 '(-R)--remoteforward=[listen-port:host:port Forward remote port to local addre
ss]:listen-port:host:port:_files' \ | |
| 49 '(--subsystem)-s[Invoke command (mandatory) as SSH2 subsystem.]' \ | |
| 50 '(-s)--subsystem[Invoke command (mandatory) as SSH2 subsystem.]' \ | |
| 51 '(--tty)-t[Tty; allocate a tty even if command is given.]' \ | |
| 52 '(-t)--tty[Tty; allocate a tty even if command is given.]' \ | |
| 53 '(--user)-l[Log in using this user name.]:user:_users' \ | |
| 54 '(-l)--user=[Log in using this user name.]:user:_users' \ | |
| 55 '--user-authentications=[Types of user authentications to use.]:user-authenticat
ions:_files' \ | |
| 56 '(--version)-V[Display version number only.]' \ | |
| 57 '(-V)--version[Display version number only.]' \ | |
| 58 && return 0 | |
| OLD | NEW |