Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
jacob600
New Contributor

Sample Expect or python script to log in to Fortigate??

I'm not a scripter but I need to put one together. Can anyone provide a basic expect or python script that logs into a Fortigate devices and issues one command? Any command.  I'm looking for a starting point. So far, I have had issues modifying the example Cisco script to work with the Fortigate. Any sample expect or python script would be very much appreciated.

 

Thank you,

1 REPLY 1
emnoc
Esteemed Contributor III

PCNSE NSE StrongSwan
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors