diff --git a/bashrc b/bashrc index 32d5f5ce..911587cf 100755 --- a/bashrc +++ b/bashrc @@ -307,6 +307,9 @@ alias KILL="killall -KILL " # For locally rsync copying folder1 to folder2. alias rsync-folder="rsync -azvv " +# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent... +alias ssh-add="\ssh-add -D && \ssh-add " + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/zshrc b/zshrc index 70999cb2..acb982a5 100755 --- a/zshrc +++ b/zshrc @@ -250,6 +250,9 @@ alias KILL="killall -KILL " # For locally rsync copying folder1 to folder2. alias rsync-folder="rsync -azvv " +# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent... +alias ssh-add="\ssh-add -D && \ssh-add " + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases