* PATCH: _ssh with last openssh
@ 2000-06-20 15:25 Chmouel Boudjnah
0 siblings, 0 replies; only message in thread
From: Chmouel Boudjnah @ 2000-06-20 15:25 UTC (permalink / raw)
To: zsh-workers
Here is an upgrade of _ssh to the last openssh option :
Index: Completion/User/_ssh
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_ssh,v
retrieving revision 1.4
diff -u -r1.4 _ssh
--- Completion/User/_ssh 2000/05/09 12:13:38 1.4
+++ Completion/User/_ssh 2000/06/20 15:45:35
@@ -25,24 +25,32 @@
ssh-opt)
_arguments -C -s \
'-a[disable forwarding of authentication agent connection]' \
+ '-A[enables forwarding of the authentication agent connection]' \
'-c[select encryption cipher]:encryption cipher:(idea des 3des blowfish arcfour tss none)' \
'-e[set escape character]:escape character (or `none'"'"'):' \
'(-n)-f[go to background]' \
+ '-g[allows remote hosts to connect to local forwarded ports]'\
'-i[select identity file]:SSH identity file:_files' \
'-k[disable forwarding of kerberos tickets]' \
'-l[specify login name]:login name:_ssh_users' \
'-n[redirect stdin from /dev/null]' \
+ '-N[do not execute a remote command. (protocol version 2 only)]'\
'*-o[specify extra options]:option string:->option' \
'-p[specify port on remote host]:port number on remote host:' \
- '-q[quiet operation]' \
'-P[use non priviledged port]' \
+ '-q[quiet operation]' \
'-t[force pseudo-tty allocation]' \
+ '-T[disable pseudo-tty allocation (protocol version 2 only)]'\
'-v[verbose mode]' \
'-V[show version number]' \
'-x[disable X11 forwarding]' \
+ '-X[enable X11 forwarding]' \
'-C[compress all data]' \
'-L[specify local port forwarding]:local port forwarding:->forward' \
'-R[specify remote port forwarding]:remote port forwarding:->forward' \
+ '-2[forces ssh to try protocol version 2 only]'\
+ '-4[forces ssh to use IPv4 addresses only]' \
+ '-6[forces ssh to use IPv6 addresses only]' \
"$args[@]" && ret=0
while [[ -n "$state" ]]; do
@@ -107,7 +115,7 @@
ProxyCommand RemoteForward RhostsAuthentication \
RhostsRSAAuthentication RSAAuthentication \
StrictHostKeyChecking TISAuthentication \
- UsePriviledgedPort User UserKnownHostsFile UseRsh \
+ UsePriviledgedPort Protocol User UserKnownHostsFile UseRsh \
XAuthLocation && ret=0
fi
;;
@@ -153,15 +161,18 @@
scp)
_arguments -C -s \
'-c[select encryption cipher]:encryption cipher:(idea des 3des blowfish arcfour tss none)' \
- '-P[specify port on remote host]:port number on remote host:' \
'-i[select identity file]:SSH identity file:_files' \
- '-S[specify path to ssh]:path to ssh:_files -g \*\(-\*\)' \
- '-o[give SSH options]:options:->options' \
'-p[preserve modification times]' \
'-r[recursively copy directories]' \
'-v[verbose mode]' \
'-B[batch mode]' \
+ '-q[disables the progress meter]' \
'-C[compress data]' \
+ '-P[specify port on remote host]:port number on remote host:' \
+ '-4[forces scp to use IPv4 addresses only]' \
+ '-6[forces scp to use IPv6 addresses only]' \
+ '-S[specify path to ssh]:path to ssh:_files -g \*\(-\*\)' \
+ '-o[give SSH options]:options:->options' \
'*:file:->file' && ret=0
if [[ "$state" = options ]]; then
@@ -186,10 +197,11 @@
;;
ssh-add)
_arguments -s \
- '-p[read passphrase from stdin]' \
'-l[list all identities]' \
+ '-L[lists public key parameters of all identities in the agent]'\
'-d[remove identity]' \
'-D[delete all identities]' \
+ '-p[read passphrase from stdin]' \
'*:SSH identity file:_files'
return
;;
@@ -210,6 +222,12 @@
'(-p -u)-C[specify new comment]:new comment:' \
'(-b -f -C -u -c)-p[change passphrase of private key file]' \
'(-b -f -N -p -u)-c[change comment in private and public key files]' \
+ '-l[show fingerprint of specified private or public key file]' \
+ '-q[silence ssh-keygen]' \
+ '-R[exit 0 or 1 if RSA support is functional]' \
+ '-x[read a DSA private key and print a SSH2 public key to stdout]'\
+ '-X[read a SSH2 public key and print a DSA public key to stdout]'\
+ '-y[read a DSA private key and print a DSA public key to stdout]'\
'(-b -N -C -p -c)-u[change key cipher to default]'
return
;;
--
MandrakeSoft Inc http://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-06-21 15:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-20 15:25 PATCH: _ssh with last openssh Chmouel Boudjnah
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).