USG Flex 200 and SSH commands
Is it possible to send commands to the USG 200 via ssh?
The use case is to activate and deactivate easily Security Policy and time schedules.
I have tried it with putty and plink.exe, but it didn't work:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Using username "testadmin".:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError -- Keyboard-interactive authentication prompts from server: -------------------- End of keyboard-interactive prompts from server ---------------------------
Accepted Solution
-
Hi @IWAT ,
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
0
All Replies
-
Hi @IWAT ,
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
0 -
Thank you!
It works.0
Categories
- All Categories
- 442 Beta Program
- 2.9K Nebula
- 217 Nebula Ideas
- 127 Nebula Status and Incidents
- 6.5K Security
- 582 USG FLEX H Series
- 344 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.4K Wireless
- 52 Wireless Ideas
- 7K Consumer Product
- 297 Service & License
- 476 News and Release
- 91 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.8K FAQ
- 34 Documents
- 87 About Community
- 102 Security Highlight
Freshman Member
Master Member