<?php
// This file contains authentication data used by the various example scripts
// Variables used for connection - they must be set by you if you want this example to work
$host = "1.2.3.4" ; // remote host name or ip address
$port = 22 ; // ssh port on the remote host
$user = 'myuser' ; // username used for the connection
// Used by the example.password.php script for ssh authentication using password
$password = 'mypassword' ;
// Used by the examplekey.php script for ssh authentication using public and private key files
$private_key_file = 'private.ppk' ;
$public_key_file = 'public.ppk' ;
|