Index: fish/functions/gsftp.fish ================================================================== --- fish/functions/gsftp.fish +++ fish/functions/gsftp.fish @@ -1,4 +1,4 @@ function gsftp --wraps sftp set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh - sftp $argv + sftp -o IdentitiesOnly=no $argv end Index: fish/functions/gssh.fish ================================================================== --- fish/functions/gssh.fish +++ fish/functions/gssh.fish @@ -1,4 +1,4 @@ function gssh --wraps ssh set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh - ssh $argv + ssh -o IdentitiesOnly=no $argv end Index: ssh_config ================================================================== --- ssh_config +++ ssh_config @@ -14,8 +14,9 @@ Host wip.pkgsrc.org Ciphers aes256-gcm@openssh.com Host * + IdentitiesOnly yes Ciphers chacha20-poly1305@openssh.com KexAlgorithms curve25519-sha256@libssh.org HostKeyAlgorithms ssh-ed25519 Index: zshrc ================================================================== --- zshrc +++ zshrc @@ -374,13 +374,13 @@ sock=$(find "$XDG_RUNTIME_DIR/gnupg" -name S.gpg-agent.ssh | head -1) 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 pwnk() { local clipboard