S-Filer Portal Configuration CLI options
This section lists all configuration options that can be changed using the S-Filer Portal Configuration CLI.
Follow the help menu of the set-config
command to change the configurations specified in this manual.
Set Configuration
Usage: set-config [options]
Options:
-encrypt
This config value is to be encrypted before storing in the database.
Default: false
-id
Instance Id. (Optional if the instance Name is specify)
* -k
Key.
-n
Instance Name. (Optional if the instance Id is specify)
* -t
Type 1:server 3:Gateway 4:Gui.
Default: 0
* -v
New Value.
Example
You can change the SSH server's port (key ssh.server.port
) using the CLI
bash
sfiler-config-cli -l username -p password -cf cli.conf set-config -t 3 -id 2 -k ssh.server.port -v 42
You can also list your current configurations.
bash
sfiler-config-cli -l username -p password -cf cli.conf list-configs