9 lines
129 B
Text
9 lines
129 B
Text
|
#!/bin/sh
|
||
|
if [ -f .ssh-agent ]; then
|
||
|
. .ssh-agent
|
||
|
else
|
||
|
killall ssh-agent
|
||
|
ssh-agent > .ssh-agent
|
||
|
ssh-add ~/.ssh/id_rsa
|
||
|
fi
|