Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 18688 invoked from network); 16 Mar 2004 21:13:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Mar 2004 21:13:33 -0000 Received: (qmail 83908 invoked by uid 500); 16 Mar 2004 21:13:08 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 83896 invoked by uid 500); 16 Mar 2004 21:13:08 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 83883 invoked from network); 16 Mar 2004 21:13:07 -0000 Received: from unknown (HELO mail40.messagelabs.com) (38.118.4.19) by daedalus.apache.org with SMTP; 16 Mar 2004 21:13:07 -0000 X-VirusChecked: Checked X-Env-Sender: jeffrey_n_Dyke@Keane.com X-Msg-Ref: server-15.tower-40.messagelabs.com!1079471592!5537901 X-StarScan-Version: 5.1.15; banners=-,-,- Received: (qmail 7250 invoked from network); 16 Mar 2004 21:13:12 -0000 Received: from smtp1.keane.com (12.38.119.136) by server-15.tower-40.messagelabs.com with SMTP; 16 Mar 2004 21:13:12 -0000 To: users@httpd.apache.org X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: jeffrey_n_Dyke@Keane.com Date: Tue, 16 Mar 2004 16:13:07 -0500 X-MIMETrack: Serialize by Router on SMTP1/Keane(Release 5.0.12 |February 13, 2003) at 03/16/2004 04:18:43 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] calling ssh/scp shell processes from within apache X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I realize this is not solely an Apache question, i'm also posting to a php list, and didn't want to cross post. I have a page, written in PHP that calls three shell commands. I'm calling scp, then ssh and scp again. I am using full paths when calling these programs, i.e. /usr/bin/scp, /usr/bin/ssh. The script works fine if executed from the command line, as the user Apache runs as. When i try to execute similar code from a web browser being served up by Apache, none of the commands seem to execute. I would assume this has something to do with the environment the web process runs in?? The ssh/scp connection autheticates with public key pair authentication, which may not be allowed in this context. I think/pretty sure its getting challenged for the passphrase. but, i'll send this anyway...just in case anyone has any insight/expierence with this. Server in question is Solaris9 with Apache 1.3.9/PHP 4.3.3 TIA.....Sorry for the slightly off topic post. Jeff --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org