From de4015752e013c9c1dd25ff49280126c59201def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 5 Oct 2012 17:11:07 +0200 Subject: =?UTF-8?q?bashrc:=C2=A0buuild=20list=20of=20ssh=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 68f7aef..13fad1e 100644 --- a/bashrc +++ b/bashrc @@ -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 -- cgit v1.1-2-g2b99