fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Daniel Rainerformat: don't use tabs for indentatione0916e793

master
4.0 KiB53 linesraw
1# ssh-keygen
2complete -c ssh-keygen -s a -x -d "number of KDF rounds used [default 16]"
3complete -c ssh-keygen -s b -x -d "number of bits in the key"
4complete -c ssh-keygen -s c -d "change the comment in the private and public key files"
5
6complete -c ssh-keygen -s N -x -d "provide the new passphrase"
7complete -c ssh-keygen -s P -x -d "provide the (old) passphrase"
8complete -c ssh-keygen -s p -d "request changing the passphrase of a private key file"
9complete -c ssh-keygen -s L -d "print the contents of one or more certificates"
10complete -c ssh-keygen -s l -d "show fingerprint of public key file"
11complete -c ssh-keygen -s v -d "verbose mode: print debugging messages about its progress"
12
13complete -c ssh-keygen -s f -r -d "filename of key file"
14complete -c ssh-keygen -s C -x -d "comment of the generated key"
15complete -c ssh-keygen -s t -x -d "type of key to create" -a "dsa ecdsa ecdsa-sk ed25519 ed25519-sk rsa"
16
17complete -c ssh-keygen -s A -f -d 'generate host keys of all default key types (rsa, ecdsa, and ed25519)'
18complete -c ssh-keygen -s B -f -d 'show the bubblebabble digest of specified key file'
19complete -c ssh-keygen -s D -f -d 'download the public keys provided by shared library pkcs11'
20complete -c ssh-keygen -s E -x -d 'hash algorithm used when displaying key fingerprints' -a 'md5 sha256'
21complete -c ssh-keygen -s e -d 'print public key of a OpenSSH key file in a format specified by the -m option'
22complete -c ssh-keygen -s F -x -d 'find hashed host names or addresses in a known_hosts file'
23complete -c ssh-keygen -s g -d 'use generic DNS format when printing fingerprint resource records using -r command'
24complete -c ssh-keygen -s H -d 'hash a known_hosts file'
25complete -c ssh-keygen -s h -d 'create a host certificate when signing a key'
26complete -c ssh-keygen -s I -r -d 'specify the key identity when signing a public key'
27complete -c ssh-keygen -s i -d 'print an OpenSSH compatible private (or public) key'
28complete -c ssh-keygen -s K -d 'download resident keys from a FIDO authenticator'
29complete -c ssh-keygen -s k -d 'generate a KRL file'
30complete -c ssh-keygen -s M -r -d 'candidate Diffie-Hellman Group Exchange (DH-GEX) parameters' -a ' generate  screen'
31complete -c ssh-keygen -s m -r -d 'key format for key generation, for -i, -e and -p flag' -a 'RFC4716 PKCS8 PEM'
32complete -c ssh-keygen -s n -r -d 'specify principals (user or host names) to be included in a certificate when signing a key'
33complete -c ssh-keygen -s O -d 'specify a key/value option'
34complete -c ssh-keygen -s Q -d 'whether keys have been revoked in a KRL'
35complete -c ssh-keygen -s q -d 'silence ssh-keygen'
36complete -c ssh-keygen -s R -x -d 'removes all keys belonging to the specified hostname from a known_hosts file'
37complete -c ssh-keygen -s r -x -d 'print the SSHFP fingerprint resource record named hostname'
38complete -c ssh-keygen -s s -r -d 'sign a public key using the specified CA key'
39complete -c ssh-keygen -s U -d 'indicates that a CA key resides in a ssh-agent'
40complete -c ssh-keygen -s u -d 'update a KRL'
41complete -c ssh-keygen -s V -x -d 'specify a validity interval when signing a certificate'
42complete -c ssh-keygen -s w -r -d 'path to a needed library when creating FIDO authenticator-hosted keys'
43complete -c ssh-keygen -s Y -x -a "\
44    find-principals\t'find the principal(s) associated with the public key of a signature'
45    match-principals\t'find principal matching the principal name provided using the -I flag'
46    check-novalidate\t'check that a signature generated using -Y sign has a valid structure'
47    sign\t'Cryptographically sign a file or some data using an SSH key'
48    verify\t'Request to verify a signature generated using -Y sign'
49"
50complete -c ssh-keygen -s y -d 'print an OpenSSH public key from a private OpenSSH format file'
51# Note: `ssh -Q` is not available on old versions
52complete -c ssh-keygen -s Z -x -d 'cipher kind used for encryption an OpenSSH-format private key file' -a "(ssh -Q cipher 2>/dev/null)"
53complete -c ssh-keygen -s z -x -d 'serial number embedded in the certificate'