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
- 439 Beta Program
- 2.8K Nebula
- 206 Nebula Ideas
- 127 Nebula Status and Incidents
- 6.4K Security
- 522 USG FLEX H Series
- 330 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.3K Wireless
- 49 Wireless Ideas
- 6.9K Consumer Product
- 290 Service & License
- 462 News and Release
- 90 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.5K FAQ
- 34 Documents
- 86 About Community
- 98 Security Highlight
Freshman Member
Zyxel Employee