classes/CSSHSession.cpp
int CSSHSession::userAuthorizationWithPassword()
    {
        int returnCode = ssh_userauth_password(m_session, NULL, m_password.c_str());
        if (returnCode == SSH_AUTH_ERROR)
        {
            throw Exception(*this, __func__);
        }
        m_authorized = true;
        this->m_authorizarionType = UserAuthorizationType::Password;
        return (returnCode);
    }
//
// Password user authorization. (Virtual: May be overridden)
//
Password user authorization. (Virtual: May be overridden)
Password user authorization . ( Virtual : May be overridden )
int CSSHSession::userAuthorizationWithPassword()
    {
        int returnCode = ssh_userauth_password(m_session, NULL, m_password.c_str());
        if (returnCode == SSH_AUTH_ERROR)
        {
            throw Exception(*this, __func__);
        }
        m_authorized = true;
        this->m_authorizarionType = UserAuthorizationType::Password;
        return (returnCode);
    }
int CSSHSession :: userAuthorizationWithPassword ( ) { int returnCode = ssh_userauth_password ( m_session , NULL , m_password . c_str ( ) ) ; if ( returnCode == SSH_AUTH_ERROR ) { throw Exception ( * this , __func__ ) ; } m_authorized = true ; this -> m_authorizarionType = UserAuthorizationType :: Password ; return ( returnCode ) ; }
Password user authorization.
Password user authorization .