#!/bin/sh usessh="yes" if test "$usessh" = "yes" -a -d $HOME/.ssh ; then SSH_ASKPASS="/usr/libexec/x11-ssh-askpass" if [ -x $SSH_ASKPASS ] ; then ssh-agent > $HOME/.ssh/agent . $HOME/.ssh/agent export SSH_ASKPASS ssh-add fi fi