use ssh agent when environment indicates it and no key was configured