even better ssh-agent handling