changeset 870:ff31f0975d71 tip

dont add the PEMs
author Jeff Hammel <k0scist@gmail.com>
date Fri, 16 Nov 2018 10:09:16 -0800
parents ca1fb54c03ee
children
files .bashrc
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc
+++ b/.bashrc
@@ -625,19 +625,16 @@ export LOCAL_BASHRC="${HOME}/.bashrc_loc
 if [ -e "${LOCAL_BASHRC}" ]
 then
     . "${LOCAL_BASHRC}"
 fi
 
 ### add ssh keys
 if which ssh-add
 then
-    for key in ${HOME}/.ssh/*.pem; do
-        ssh-add "${key}" >> /dev/null
-    done
     if [ -e "${HOME}/.ssh/k0s_rsa" ]
     then
         ssh-add "${HOME}/.ssh/k0s_rsa"
     fi
 fi
 
 ### AWS credentials
 if [[ -f "${HOME}/.aws/credentials" ]]