note 50250 deleted from function.ssh2-shell by pollita

From: Date: Sat, 16 Jul 2005 04:06:50 +0000
Subject: note 50250 deleted from function.ssh2-shell by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92047@lists.php.net to get a copy of this message
Note Submitter: suri dot suribala dot com ---- Once ssh_shell is opened, subsequent ssh2_exec using the same ssh connection handle does not work. I am not sure if this is a bug. Here is an example: <?php $con = ssh_connect('host', 'port'); ssh2_auth_password( $con, 'user', 'password'"); $shell = ssh2_shell( $this->con, 'xterm') fwrite( $shell, 'ls -la '); // this instruction will not work $stream = ssh_exec( $con , 'ls -la'); ?>

« previous php.notes (#92047) next »