updated to include ssh2 support