fish-shell/share/functions/__fish_complete_ssh.fish
axel c2f6c6c1d2 Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00

62 lines
1.4 KiB
Fish

function __fish_complete_ssh -d "common completions for ssh commands"
complete -c $argv -s 1 -d (N_ "Protocoll version 1 only")
complete -c $argv -s 2 -d (N_ "Protocoll version 2 only")
complete -c $argv -s 4 -d (N_ "IPv4 addresses only")
complete -c $argv -s 6 -d (N_ "IPv6 addresses only")
complete -c $argv -s C -d (N_ "Compress all data")
complete -xc $argv -s c -d (N_ "Encryption algorithm") -a "blowfish 3des des"
complete -r -c $argv -s F -d (N_ "Configuration file")
complete -r -c $argv -s i -d (N_ "Identity file")
complete -x -c $argv -s o -d (N_ "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 (N_ "Verbose mode")
end