ssh_config: Default to IdentitiesOnly yes
This commit is contained in:
parent
802b147758
commit
42df8d2bba
4 changed files with 5 additions and 4 deletions
4
zshrc
4
zshrc
|
@ -376,9 +376,9 @@ if __has_command gpg gpg2; then
|
|||
fi
|
||||
[ -n "$sock" ] || sock="$GNUPGHOME/S.gpg-agent.ssh"
|
||||
|
||||
alias gssh="SSH_AUTH_SOCK=$sock ssh"
|
||||
alias gssh="SSH_AUTH_SOCK=$sock ssh -o IdentitiesOnly=no"
|
||||
alias gssh-add="SSH_AUTH_SOCK=$sock ssh-add"
|
||||
alias gsftp="SSH_AUTH_SOCK=$sock sftp"
|
||||
alias gsftp="SSH_AUTH_SOCK=$sock sftp -o IdentitiesOnly=no"
|
||||
fi
|
||||
|
||||
if __has_command cryptopassphrase; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue