Fix ssh-agent problems