SSH Communications Security
Previous Next Up [Contents] [Index]

    About This Document>>
    Introduction to SSH Secure Shell >>
    Configuring SSH Secure Shell >>
    Authentication >>
        Server Authentication>>
        User Authentication>>
        Keyboard-Interactive Authentication >>
            Overview
            Configuring the Server and Client
            Adding New Authentication Methods >>
                init Type
                free Type
                SshKbdIntSubMethodCB Type
                SshKbdIntSubMethodConv Type
    Log Messages >>
    Using SSH Secure Shell >>
    Tool Syntax>>
    Technical Specifications >>

init Type

Synopsis

typedef void (*init)(void **method_context,
    SshAuthKbdIntSubMethods methods,
    SshKbdIntSubMethodConv conv,
    void *conv_context);

Description

The initialization function.

Arguments

method_context
Should be assigned to the pointer to the context allocated. Assigning something to method_context is mandatory. (This simplifies the main method's bookkeeping on what submethods have actually been initialized.) This context is passed to the free function.

methods
Should be stored by the submethod. It contains for example the SshServer structure and an SshUser structure that can be used in the authentication process by the submethod.

conv
The conversation function, called by the submethod when it has the requests. The prototype is described below.

conv_context
Should be given to the conv function.

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2003 SSH Communications Security Corp.
All rights reserved.
Copyright Notice