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

Zyxel_Melen
Zyxel_Melen Posts: 3,854  Guru Member
Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
edited September 25 in Other Topics

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