From 509c822b626c01e0787aac2baef5af80d15da529 Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Mon, 19 Oct 2015 11:23:57 +0200 Subject: 36869: use permissions to limit files completed for ssh identity files --- Completion/Unix/Command/_ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command') diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index a66702a65..c6ede9efe 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -18,7 +18,7 @@ _ssh () { # for protocol version 2, this can be a comma-separated list '-c+[select encryption cipher]:encryption cipher:(idea des 3des blowfish arcfour tss none)' '-F+[specify alternate config file]:config file:_files' - '*-i+[select identity file]:SSH identity file:_files' + '*-i+[select identity file]:SSH identity file:_files -g "*(-.^AR)"' '*-o+[specify extra options]:option string:->option' ) common_transfer=( -- cgit 1.4.1