php ssh2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


    $connection  = ssh2_connect("switch adress", 22);

  $stream = ssh2_shell($connection, 'vt100');

this script  hang-up
when a try
$connection = ssh2_connect('', 22);
ssh2_auth_password($connection, 'username', 'password');

$stream = ssh2_exec($connection, '/usr/local/bin/php -i');
i have error message )cant ssh_exec on remote server

what can a try do write data to te ethernet switch

My task is write allow mac adress on swhitch port

Site Timeline