note 101304 added to function.ssh2-exec

From: Date: Thu, 09 Dec 2010 05:22:31 +0000
Subject: note 101304 added to function.ssh2-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-174726@lists.php.net to get a copy of this message
It is important to note that this will not work ~all~ hosts that allow SFTP. We deny shell access, but allow SFTP using the sftp-internal subsystem. A description can be found here: http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny When attempting to use ssh2_exec() with this configuration, and stream_set_blocking set to true, the script will hang indefinitely. When stream_set_blocking is set to false, nothing will be returned. Even if you can SFTP files, be sure to check with your host to see if you have shell access. ---- Server IP: 69.147.83.197 Probable Submitter: 174.55.18.235 ---- Manual Page -- http://www.php.net/manual/en/function.ssh2-exec.php Edit -- https://master.php.net/note/edit/101304 Del: integrated -- https://master.php.net/note/delete/101304/integrated Del: useless -- https://master.php.net/note/delete/101304/useless Del: bad code -- https://master.php.net/note/delete/101304/bad+code Del: spam -- https://master.php.net/note/delete/101304/spam Del: non-english -- https://master.php.net/note/delete/101304/non-english Del: in docs -- https://master.php.net/note/delete/101304/in+docs Del: other reasons-- https://master.php.net/note/delete/101304 Reject -- https://master.php.net/note/reject/101304 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174726) next »