|
Posted by Konstantyn on 07/05/07 15:20
This is a simpla example^
<?php
$connection = ssh2_connect("ethernet switch adress", 22);
ssh2_auth_password($connection,"login","pass");
$stream = ssh2_shell($connection, 'vt100');
?>
this is not work
and when i use ssh2_exec($connection, 'comand');
a have error message
can execute comands
What can i do for write commands to ethernet switch?
Navigation:
[Reply to this message]
|