From 6105fbc8640878ebc5b90ba3ad566192e7131e1f Mon Sep 17 00:00:00 2001 From: hjp Date: Thu, 5 Jul 2001 10:44:47 +0000 Subject: [PATCH] Added startup of ssh-agent --- .zprofile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zprofile b/.zprofile index 4da1b52..ad53c05 100644 --- a/.zprofile +++ b/.zprofile @@ -17,8 +17,15 @@ else fi vhost=`echo "$vhost" | cut -d . -f 1` RECHNER=$vhost +if [ -z "$SSH_AUTH_SOCK" -a -f "$HOME/.ssh/identity" ] +then + eval `ssh-agent` + ssh-add +fi + if [ -f /etc/oraprofile ] then . /etc/oraprofile fi +