Switch from libssh to libssh2 in configure.ac, add dependency on libssl.
Partial migration, including SFTP.
Working migration to libssh2 (hard-coded host).
Lookup hosts, etc. for connect.
Remove old options code.
Authenticat with key if present.
Init libssh2 and libssl. Log success.
Add ssh_agent source from test.
Initiate agent forwarding if supported.
Add missing license comments.
Use ssh-dss, not ssh-dsa.
Fix DSA signature algorithm.
Free alloc'd memory.
Differentiate between connection attempts.
Use non-blocking I/O on non-SFTP session to avoid unnecessary waiting for data during reads. With multiple threads, libssh2 reads will call poll() to wait for available data, one read will handle ALL data, while the other read comes up dry.
Remove unnecessary include.