further tweaks to ssh-agent functionality