- # Add the first user identity if the local ssh-agent doesn't already have
- # something.
- #
- # We silence error output for when we're sshing to a machine that we don't want
- # to use ssh-agent forwarding for.
- if [[ `ssh-add -l 2> /dev/null` != *id_?sa* ]]; then
- ssh-add 2> /dev/null
- fi
|