251. Sshd

SSHD settings, input and output functions

251.1. Authors

  • Lukas Ocilka <locilka@suse.cz>

  • Representation of the configuration of SSHD.

  • Input and output routines.

251.2. Summary of Module Globals

List of Global Functions

  • Abort - Returns a confirmation popup dialog whether user wants to really abort.

  • Export - Exports the current configuration.

  • GetDefaultSSHDOption - Returns default SSHD Option as a list of strings.

  • GetModified - Returns whether the configuration has been modified.

  • GetSSHDOption - Returns the SSHD Option as a list of strings.

  • Import - Imports a configuration

  • PollAbort - Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.

  • Read - Read all SSHD settings

  • SetModified - Sets that the configuration has been modified.

  • SetSSHDOption - Sets values for an option.

  • Write - Write all SSHD settings

List of Global Variables

    251.3. Global Functions

    251.3.1. Abort

    Returns a confirmation popup dialog whether user wants to really abort.

    Return value

    • boolean

    251.3.2. Export

    Exports the current configuration.

    Return value

    • map - of a current configuration

    $[
       "config" : (map <string, list<string> >) SETTINGS,
       "status" : (boolean) service_status,
     ]

    251.3.3. GetDefaultSSHDOption

    Returns default SSHD Option as a list of strings.

    Function parameters

    • string option_key

    Return value

    • list <string> - with option_values

    251.3.4. GetModified

    Returns whether the configuration has been modified.

    Return value

    • boolean

    251.3.5. GetSSHDOption

    Returns the SSHD Option as a list of strings.

    Function parameters

    • string option_key

    Return value

    • list <string> - with option_values

    251.3.6. Import

    Imports a configuration

    Function parameters

    • map import_map

    Return value

    • boolean

    251.3.7. PollAbort

    Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.

    Return value

    • boolean - true if abort confirmed

    251.3.8. Read

    Read all SSHD settings

    Return value

    • boolean - true on success

    251.3.9. SetModified

    Sets that the configuration has been modified.

    Return value

    • void

    251.3.10. SetSSHDOption

    Sets values for an option.

    Function parameters

    • string option_key

    • list <string> option_vals

    Return value

    • void

    251.3.11. Write

    Write all SSHD settings

    Return value

    • boolean - true on success

    251.4. Global Variables

    251.5. Module Requirements

    251.5.1. Module Imports

    • Message
    • Mode
    • Popup
    • Progress
    • Report
    • SCR
    • Service

    251.5.2. Module Includes