diff options
author | mail_redacted_for_web | 2022-03-21 09:36:26 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2022-03-21 09:36:26 +0100 |
commit | 59d4041c607de9c2300399bd7da676218e402c9a (patch) | |
tree | 2136110c4e87ea272a7b6cc7f9f65c1a09a671ef /.bash/aliases.bash | |
parent | effd293bbf913e35aa661efcbcfb9ff26bc2f9a4 (diff) | |
download | dotfiles-59d4041c607de9c2300399bd7da676218e402c9a.tar.bz2 |
+function for adding ssh keys
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 |