diff options
Diffstat (limited to '.bash/aliases.bash')
-rw-r--r-- | .bash/aliases.bash | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.bash/aliases.bash b/.bash/aliases.bash index de3d616..0086054 100644 --- a/.bash/aliases.bash +++ b/.bash/aliases.bash @@ -60,6 +60,11 @@ alias startxmonad="sxs xmonad" alias saa="source ~/.ssh/sshenv;ssh-add >/dev/null 2>&1;ssh-add -l" alias sshr='ssh -o StrictHostKeyChecking=no' alias sshk='ssh -o PasswordAuthentication=yes -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no' +function add-sshagent-init { + for KEY in "${SSHKEYS[@]}";do + ssh-add "$i" + done +} # ----- FS ----- # xstat() { for target in "${@}";do |