Add dynamic cipher completion to ssh -c ...

[ci skip]
This commit is contained in:
Mahmoud Al-Qudsi
2019-04-22 15:17:09 -05:00
parent 82052a6cc9
commit 4bdab33a00

View File

@@ -41,6 +41,7 @@ complete -c ssh -s X -d "Enable X11 forwarding"
complete -c ssh -s L -d "Locally forwarded ports"
complete -c ssh -s R -d "Remotely forwarded ports"
complete -c ssh -s D -d "Dynamic port forwarding"
complete -c ssh -s c -d "Encryption cipher" -xa "(ssh -Q cipher)"
# Also look up hosts from the history
function __ssh_history_completions --argument limit