aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_ssh.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
commit343cafef346543282b5b6e825bc8f9dd10028a48 (patch)
tree1bcf221ecb525c7aeadc8325e7b780d3656e544b /share/functions/__fish_complete_ssh.fish
parent95a01f3c8f15034433ffce368d8f2d13d925139c (diff)
Redo installation file structure, move lots of things to $PREFIX/share/fish
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
Diffstat (limited to 'share/functions/__fish_complete_ssh.fish')
-rw-r--r--share/functions/__fish_complete_ssh.fish61
1 files changed, 61 insertions, 0 deletions
diff --git a/share/functions/__fish_complete_ssh.fish b/share/functions/__fish_complete_ssh.fish
new file mode 100644
index 00000000..d1aa6f82
--- /dev/null
+++ b/share/functions/__fish_complete_ssh.fish
@@ -0,0 +1,61 @@
+
+function __fish_complete_ssh -d "common completions for ssh commands"
+
+ complete -c $argv -s 1 -d (_ "Protocoll version 1 only")
+ complete -c $argv -s 2 -d (_ "Protocoll version 2 only")
+ complete -c $argv -s 4 -d (_ "IPv4 addresses only")
+ complete -c $argv -s 6 -d (_ "IPv6 addresses only")
+ complete -c $argv -s C -d (_ "Compress all data")
+ complete -xc $argv -s c -d (_ "Encryption algorithm") -a "blowfish 3des des"
+ complete -r -c $argv -s F -d (_ "Configuration file")
+ complete -r -c $argv -s i -d (_ "Identity file")
+ complete -x -c $argv -s o -d (_ "Options") -a "
+ AddressFamily
+ BatchMode
+ BindAddress
+ ChallengeResponseAuthentication
+ CheckHostIP
+ Cipher
+ Ciphers
+ Compression
+ CompressionLevel
+ ConnectionAttempts
+ ConnectTimeout
+ ControlMaster
+ ControlPath
+ GlobalKnownHostsFile
+ GSSAPIAuthentication
+ GSSAPIDelegateCredentials
+ Host
+ HostbasedAuthentication
+ HostKeyAlgorithms
+ HostKeyAlias
+ HostName
+ IdentityFile
+ IdentitiesOnly
+ LogLevel
+ MACs
+ NoHostAuthenticationForLocalhost
+ NumberOfPasswordPrompts
+ PasswordAuthentication
+ Port
+ PreferredAuthentications
+ Protocol
+ ProxyCommand
+ PubkeyAuthentication
+ RhostsRSAAuthentication
+ RSAAuthentication
+ SendEnv
+ ServerAliveInterval
+ ServerAliveCountMax
+ SmartcardDevice
+ StrictHostKeyChecking
+ TCPKeepAlive
+ UsePrivilegedPort
+ User
+ UserKnownHostsFile
+ VerifyHostKeyDNS
+ "
+ complete -c $argv -s v -d (_ "Verbose mode")
+end
+