Changeset 172 for system/generators/netwatch.php
- Timestamp:
- Mar 24, 2009, 7:52:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
system/generators/netwatch.php
r111 r172 1 1 <?php 2 2 include_once('/a/www/centrala/global.php'); 3 $Router = '192.168.0.11'; 3 4 4 5 $Commands = array(); … … 14 15 //} 15 16 $Commands = implode(';', $Commands); 16 $Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa rt-hajda-0"'.$Commands.'"';17 $Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa '.$Router.' "'.$Commands.'"'; 17 18 echo($Command); 18 19 exec($Command, $Output);
Note:
See TracChangeset
for help on using the changeset viewer.