$ssh2->auth_password($login{user}, $login{password}) ; $ssh2->auth_ok() ; #### d:\Desktop>sshtest Authentication failed (username/password) (-18 LIBSSH2_ERROR_PUBLICKEY_UNRECOGNI ZED) at D:\Desktop\sshtest.pl line 13.