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
- 441 Beta Program
- 2.9K Nebula
- 210 Nebula Ideas
- 127 Nebula Status and Incidents
- 6.4K Security
- 540 USG FLEX H Series
- 340 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.3K Wireless
- 51 Wireless Ideas
- 6.9K Consumer Product
- 295 Service & License
- 464 News and Release
- 90 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.7K FAQ
- 34 Documents
- 86 About Community
- 99 Security Highlight
Freshman Member
Master Member