Specifications

SnapCLI Syntax
Appendix B Command Line Interface 169
Suppose, instead of date, you entered the command web. Two arguments would be
available, one with options:
Thus, the following command string:
web set require-webview-auth=yes non-secure-http=no
sets HTTP/HTTPs properties on the SnapServer to require clients to authenticate in
order to access the server and to disable non-secure HTTP access.
Procedures
Logging into SnapCLI
1 Make sure your client has an SSH v2 client application installed.
Note Free or low-cost SSH applications are available over the Internet.
2 Connect to the server using its name or IP address, and log in as admin (or any
other member of admingp).
You will automatically be placed in the CLI shell.
Note SSH v2 is required. If you fail to connect to the server, ensure that your SSH
client is configured to connect via SSH v2.
Exiting SnapCLI
To exit SnapCLI, type
exit. The SSH session will close.
Command Arguments and Options Descriptions
web get - get WEB properties
set [OPTIONS]
- require-webview-auth=(yes|no)
- non-secure-http=(yes|no)
- set WEB properties
- require HTTP/HTTPS
clients to authenticate
in order to accesss the
server
-enable/disable non-
secure HTTP access