SnapCLI Syntax
Appendix B Command Line Interface
153
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 Snap Server 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. For more
information about SSH, see “SSH Secure Shell” on page 183.
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
Summary of Contents for 5325301656 - Snap Server 14000 NAS
Page 2: ......
Page 76: ...Disks and Units 62 Snap Server Administrator Guide ...
Page 92: ...Creating iSCSI Disks 78 Snap Server Administrator Guide ...
Page 108: ...Security Guides 94 Snap Server Administrator Guide ...
Page 144: ...Unicode and Expansion Arrays 130 Snap Server Administrator Guide ...
Page 164: ...Off the Shelf Backup Solutions for the Snap Server 150 Snap Server Administrator Guide ...
Page 172: ...Scripts in SnapCLI 158 Snap Server Administrator Guide ...