Hi Guys,
Tried to send this earlier not sure if it worked though.

I am trying to backup some fortigate firewalls. I have just duplicated the 
Cisco SSH script, and changed these lines:
    $ssh->exec( "config system console" );    $ssh->exec( "set output standard" 
);  $ssh->exec( "end" );
-> this is the equivalent command of "terminal length 0"   $ssh->send( "show 
full-configuration" );-> equivalent of "show run"

On a basic fortigate it works well, However on a fortigate with vdoms it 
captures the first 4 lines then dies. It takes a very long time and doesn't 
give me any error. I think it may be due top the fact on a fortigate with vdom 
enabled, the first 4 lines have a "#" at the beginning, before the meat of the 
config starts. 
Has anyone got a script working for fortigate I could have a copy of? 
Thanks and happy new year!
---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to