You are here: Re: Php SSH « PHP Programming Language « IT news, forums, messages
Re: Php SSH

Posted by Captain Paralytic on 07/05/07 15:29

On 5 Jul, 16:20, Konstantyn <konstanty...@gmail.com> wrote:
> 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?

"I have error message"

well DUH don't you think it'd help us to help you if you TOLD US WHAT
IT IS!!!!!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация