How to control FT Client from the command line
OverviewThe command line tool "VISULOX addon ftclient" allows to control the VISULOX FT Client application. |
Usage
The following subcommands are available:
| Command | Description |
|---|---|
| list | List and print FT Client objects. |
| add | Add a FT Client object. |
| edit | Modify fields of a FT Client object. |
| delete | Remove a FT Client object. |
| fields | List available fields in the database |
| listhosts | List assigned hosts |
FT Client elements (edit)
| Element | Description |
|---|---|
| -name <> | Name of this definition <> |
| -comment <> | Comment for this definition <> |
| -mode <> | Enable / disable this definition. Default value: on. |
| -resource <> | Resource in passcache |
| -sshkeymask <> | Filtermask for SSH-keys provided in the sessions <> |
| -object <> | User/group filter allowed to use this definition <> |
| -remoteip <> | Remote IP from where this definition can be used <> |
| -accesspoint <> | Filter: Access Point <> |
| -hosts <> | List of hosts assigned to this definition <> |
| -grant <> | Set granted user in database record <> |
Examples
List current available FT Client objects
visulox addon ftclient list
----------------------------
| basicname | recordmode |
----------------------------
| ft1-test | enabled.map |
| ft2-test | disabled.map |
----------------------------
List available database fields
visulox addon ftclient fields
Display selected fields
visulox addon ftclient list -fields basicname,ft_assign_host,ft_comment
Add FT Client object
visulox addon ftclient add -name ft3-test
Edit FT Client object
visulox addon ftclient edit -name ft3-test -mode off
Remove an entry
visulox addon ftclient delete -name ft3-test