{bash,zsh}rc: update & comment out ssh-add aliases

This commit is contained in:
Aminda Suomalainen 2022-01-02 00:01:57 +02:00
parent b1fab9451e
commit 0afaf23bb1
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 10 additions and 10 deletions

View File

@ -327,9 +327,9 @@ alias sshguard6-unban-all="sudo ip6tables -F sshguard"
alias rsync-folder="rsync -h --progress -azvv "
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
if [[ $UNAME != Darwin ]]; then
alias ssh-add="\ssh-add -D && \ssh-add "
fi
#if [[ $UNAME != Darwin ]]; then
# alias ssh-add="\ssh-add -D && \ssh-add "
#fi
# Use GPG2 instead of GPG!
if hash gpg2 2>/dev/null; then
@ -400,8 +400,8 @@ alias cwho="who -H -w -u"
#alias inxi-update="inxi -U"
# FINEID
#alias ssh-add-sc="ssh-add -s $(find /usr/*lib -name 'opensc-pkcs11.so')"
alias ssh-add-sc-pub="\ssh-add -L"
#alias ssh-add-fineid="ssh-add -s $(find /usr/*lib -name 'libcryptoki.so')"
#alias ssh-add-sc-pub="\ssh-add -L"
# Homebrew
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"

View File

@ -301,9 +301,9 @@ alias sshguard6-unban-all="sudo ip6tables -F sshguard"
alias rsync-folder="rsync -h --progress -azvv "
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
if [[ $UNAME != Darwin ]]; then
alias ssh-add="\ssh-add -D && \ssh-add "
fi
#if [[ $UNAME != Darwin ]]; then
# alias ssh-add="\ssh-add -D && \ssh-add "
#fi
# Use GPG2 instead of GPG!
if hash gpg2 2>/dev/null; then
@ -377,8 +377,8 @@ alias cwho="who -H -w -u"
#alias inxi-update="inxi -U"
# FINEID
#alias ssh-add-sc="ssh-add -s $(find /usr/*lib -name 'opensc-pkcs11.so')"
alias ssh-add-sc-pub="\ssh-add -L"
#alias ssh-add-fineid="ssh-add -s $(find /usr/*lib -name 'libcryptoki.so')"
#alias ssh-add-sc-pub="ssh-add -L"
# Homebrew
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"