NWA1123-ACv2 run multiple SSH commands
Hello,
I want to run multiple ssh commands with one line on the AP. I tried to separate the commands with a semicolon (;) and && but I keep getting error. You can see the examples down below.
$ configure terminal; wlan-security-profile TestSecurityProfile; mode wpa2; wpa-encrypt aes; wpa-psk 12345678; idle 3600; reauth 1800; group-key 1800;
$ configure terminal&& wlan-security-profile TestSecurityProfile&& mode wpa2&& wpa-encrypt aes&& wpa-psk 12345678&& idle 3600&& reauth 1800&& group-key 1800;
Which way I should follow to do accomplish this task?
Thank you in advance.
Best regards,
Erdem
All Replies
-
Hi @Erdem
Would you like to try script? It could also achieve your requirement with a script file. The attachment is an example. Go to MAINTENANCE>File manager>Shell Script, and upload the script file(.zysh). Then Click the "Apply". The security profile will be created successfully.
Please let me know if it helps.
Joslyn
0 -
Thank you.
0
Categories
- All Categories
- 390 Beta Program
- 2.1K Nebula
- 116 Nebula Ideas
- 78 Nebula Status and Incidents
- 5.1K Security
- 51 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 70 Switch Ideas
- 907 WirelessLAN
- 34 WLAN Ideas
- 5.9K Consumer Product
- 210 Service & License
- 332 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.9K FAQ
- 880 Nebula FAQ
- 415 Security FAQ
- 220 Switch FAQ
- 195 WirelessLAN FAQ
- 46 Consumer Product FAQ
- 137 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 63 Security Highlight