20 lines
496 B
PHP
20 lines
496 B
PHP
<?php
|
|
defined('_VALID') or define('_VALID', true);
|
|
defined('_ADMIN') or define('_ADMIN', true);
|
|
|
|
|
|
require(__DIR__.'/includes/config.php');
|
|
require_once(__DIR__.'/includes/hpilo_functions.php');
|
|
require_once(__DIR__.'/includes/ssh_functions.php');
|
|
|
|
$server_ip = $config['ilo_server_ip'];
|
|
$username = $config['ilo_SSH_user'];
|
|
$password = $config['ilo_SSH_password'];
|
|
|
|
set_include_path('phpseclib');
|
|
include('Net/SSH2.php');
|
|
|
|
// startet den Auftrag!
|
|
getIloInfo($server_ip, $username, $password);
|
|
?>
|