added auto start and add ssh keys to agent

This commit is contained in:
Tim 2016-01-12 01:42:14 +01:00
parent 0c9f1ec522
commit ce8cc16ce2

6
bash/.autossh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s`
ssh-add
fi