Added code to automatically add ssh identity to the ssh agent unless it has already been done this session.