Re: [PHP] lib ssh2 functions and ssh2_exec stream reading work around

2005-05-16 Thread Shawn McKnight
I ran in to many ssh2 stream problems as well. Problem 1. One problem I think related to the openssl version I was using. I was using the standard version with Fedora Core 3. ssh connected actions sometimes worked and sometimes did not work. I recompiled the ssh2.so with the following versions. lib

Fwd: Re: [PHP] lib ssh2 functions

2005-05-16 Thread Petar Nedyalkov
On Saturday 14 May 2005 02:16, Oscar Gosdinski wrote: > Hello everybody: > > I need my PHP application connects through SSH to other server for > getting some info to display and i tried the following code to test > lib ssh2: > > $server = ...; > $user = ...; > $passwd = ...; > > $con = ssh2_connec

[PHP] lib ssh2 functions

2005-05-13 Thread Oscar Gosdinski
Hello everybody: I need my PHP application connects through SSH to other server for getting some info to display and i tried the following code to test lib ssh2: $server = ...; $user = ...; $passwd = ...; $con = ssh2_connect($server, 22); if (ssh2_auth_password($con, $user, $passwd)) { $s