Add ssh-agent authentication support.

Requires recent libssh2 & Net::SSH2.

* Moved tmp to /var/tmp
Handle counter rollover.
Use wide ps.
Use /var/tmp instead of /tmp.