VISULOX 5 Documentation

How to control host objects from the command line


Overview

The command line tool "VISULOX addon host" allows to control the VISULOX host objects..


Usage

The following subcommands are available:

Command

Description

list

List and print host objects.

add

Add a host object.

edit

Modify fields of a host object.

delete

Remove a host object.

fields

List available database fields (-raw = enhanced output)

Host object elements (edit)

Element

Description

-name <>

Name of the host object in the database <>

-endpoint <>

URI to address the endpoint e.g. ssh://user@host <>

-comment <>

Comment for enpoint <CLI>

-mode <>

Endpoint enabled / disabled. Default value: on.

-ftprotocol <>

FT protocol e.g. ftp.passive:port <sftp:22>

-ftuser <>

Alternate FT user for this endpoint <>

-ftdir <>

FT directory for this endpoint <~>

-grant <>

Set granted user in database record <>

Examples


visulox addon host list

    -------------------------------------------------
    |        basicname | host_enabled | sh_protocol |
    -------------------------------------------------
    | test1.amitego.de |  enabled.map |      ssh:22 |
    | test2.amitego.de | disabled.map |   telnet:23 |
    -------------------------------------------------


visulox addon host add -name "Test3" -endpoint test3.amitego.de


visulox addon host edit -name "Test3" -mode off


visulox addon host delete -name "Test3"