Adaptec 5325301656 Administration Guide - Page 167

Logging into SnapCLI, Exiting SnapCLI, Command, Arguments and Options, Descriptions, Procedures

Page 167 highlights

SnapCLI Syntax Suppose, instead of date, you entered the command web. Two arguments would be available, one with options: Command Arguments and Options web get set [OPTIONS] Descriptions - get WEB properties - set WEB properties - require-webview-auth=(yes|no) - require HTTP/HTTPS clients to authenticate in order to accesss the server - non-secure-http=(yes|no) -enable/disable nonsecure HTTP access 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. Appendix B Command Line Interface 153

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224

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