Changeset 213 for trunk/system/netwatch_import.php
- Timestamp:
- May 10, 2009, 12:30:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/netwatch_import.php
r208 r213 8 8 while($Router = $DbResult3->fetch_assoc()) 9 9 { 10 echo($Router['DHCP']."\n"); 10 11 $Commands = array(); 11 12 $Commands[] = '/tool netwatch print terse'; 12 13 $Commands = implode(';', $Commands); 13 $Command = '/usr/bin/ssh - l '.$Config['MainRouter']['UserName'].' -i generators/id_dsa '.$Router['DHCP'].' "'.$Commands.'"';14 $Command = '/usr/bin/ssh -o ConnectTimeout=5 -l '.$Config['MainRouter']['UserName'].' -i generators/id_dsa '.$Router['DHCP'].' "'.$Commands.'"'; 14 15 //echo($Command."\n"); 15 16 $Output = '';
Note:
See TracChangeset
for help on using the changeset viewer.