NWA1123-ACv2 run multiple SSH commands

Erdem
Erdem Posts: 5
First Anniversary Friend Collector First Comment
edited August 2022 in WirelessLAN

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