Changed code for the ssh agent.