classes/CSSHSession.cpp
int CSSHSession::userAuthorizationWithPublicKey()
    {
        int returnCode = userAuthorizationWithPublicKeyAuto();
        if (returnCode == SSH_AUTH_ERROR)
        {
            throw Exception(*this, __func__);
        }
        m_authorized = true;
        this->m_authorizarionType = UserAuthorizationType::PublicKey;
        return (returnCode);
    }
//
// Public key user authorization. (Virtual: May be overridden)
//
Public key user authorization. (Virtual: May be overridden)
Public key user authorization . ( Virtual : May be overridden )
int CSSHSession::userAuthorizationWithPublicKey()
    {
        int returnCode = userAuthorizationWithPublicKeyAuto();
        if (returnCode == SSH_AUTH_ERROR)
        {
            throw Exception(*this, __func__);
        }
        m_authorized = true;
        this->m_authorizarionType = UserAuthorizationType::PublicKey;
        return (returnCode);
    }
int CSSHSession :: userAuthorizationWithPublicKey ( ) { int returnCode = userAuthorizationWithPublicKeyAuto ( ) ; if ( returnCode == SSH_AUTH_ERROR ) { throw Exception ( * this , __func__ ) ; } m_authorized = true ; this -> m_authorizarionType = UserAuthorizationType :: PublicKey ; return ( returnCode ) ; }
Public key user authorization.
Public key user authorization .