diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-10-05 17:11:07 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-10-05 17:11:07 +0200 |
commit | de4015752e013c9c1dd25ff49280126c59201def (patch) | |
tree | f6a07916bda65a8755881113b7d7264640a63318 | |
parent | b7f92af6fe6233d7aa262b5530b4a56918b15f9e (diff) | |
download | bin-de4015752e013c9c1dd25ff49280126c59201def.zip bin-de4015752e013c9c1dd25ff49280126c59201def.tar.gz |
bashrc: buuild list of ssh keys
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ function start_agent { /usr/bin/ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV} chmod 600 ${SSH_ENV} . ${SSH_ENV} > /dev/null - /usr/bin/ssh-add ~/.ssh/id_dsa ~/.ssh/id_ecdsa ~/.ssh/id_rsa ~/.ssh/gitadm ~/.ssh/asynk_dev + /usr/bin/ssh-add $(ls ~/.ssh/*.pub | sed 's/\.pub.*//g' | tr '\n' ' ') } # if [ -e "${SSH_ENV}" ]; then |