Changed ssh-agent running and start checks
Changed key pattern to work with absolute paths