mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
bashrc & zshrc: SSHGuard and multiple keys are trying to make people crazy.
But what if ssh-add is always told to remove keys, before adding new ones? By the way, Happy new year 2012 (even if it's only 22:12), because this is my last commit tonight, unles people at IRC get me to commit something else ;)
This commit is contained in:
parent
8db4706d45
commit
3793f39c34
3
bashrc
3
bashrc
@ -307,6 +307,9 @@ alias KILL="killall -KILL "
|
|||||||
# For locally rsync copying folder1 to folder2.
|
# For locally rsync copying folder1 to folder2.
|
||||||
alias rsync-folder="rsync -azvv "
|
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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
3
zshrc
3
zshrc
@ -250,6 +250,9 @@ alias KILL="killall -KILL "
|
|||||||
# For locally rsync copying folder1 to folder2.
|
# For locally rsync copying folder1 to folder2.
|
||||||
alias rsync-folder="rsync -azvv "
|
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 .
|
# Allow custom aliases to be put in .aliases or .zsh_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user