Might have a better solution to determining ssh-agent