SSH2: add ssh-agent support

Adds ssh-agent support.