5 $host = 'harvie.ath.cx';
8 $stdin = fopen('php://stdin', 'r');
10 $pass = trim(fgets($stdin));
11 $ssh = ssh2_connect($host, $port);
12 if (ssh2_auth_password($connection, $user, $pass)) {
13 echo("Authentication Successful: $pass\n");
15 die("Authentication Failed...\n");
This page took 0.273648 seconds and 4 git commands to generate.