Is it possible to send commands to the USG FLEX via ssh?

Zyxel_Melen
Posts: 3,854
Guru Member





Yes, it is possible.
Put commands in a text file. Then run plink with the CLI file.
CLI file example:
configure terminal hostname ABC address-object AAA 1.1.1.1 write exit exit
plink -ssh -no-antispoof admin@192 .168.1.1 -pw mypassword < cli.txt
CLI reference guide:
https://download.zyxel.com/USG_FLEX_200/cli_reference_guide/USG%20FLEX%20200_V5.40.pdf
Zyxel Melen
0
Categories
- All Categories
- 439 Beta Program
- 2.8K Nebula
- 193 Nebula Ideas
- 121 Nebula Status and Incidents
- 6.2K Security
- 473 USG FLEX H Series
- 311 Security Ideas
- 1.6K Switch
- 82 Switch Ideas
- 1.3K Wireless
- 44 Wireless Ideas
- 6.8K Consumer Product
- 282 Service & License
- 445 News and Release
- 88 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 93 Security Highlight