Jump to content

Nucleus

Members
  • Posts

    13
  • Joined

  • Last visited

Community Answers

  1. Nucleus's post in Set variable from dropdown menu was marked as the answer   
    This fixed it
     
    <?php
    include('Net/SSH2.php');
    include('variables.php');
     
    $ip = $_GET['clients'];
    $ssh = new Net_SSH2($ip);
    if (!$ssh->login($user, $pass)) {exit('Login Failed');}
    echo $ssh->exec('hostname');
    ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.