dotfiles/bash/.autossh

7 lines
82 B
Bash
Executable File

#!/bin/bash
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s`
ssh-add
fi