[PHP] Re: ssh within PHP

2003-11-11 Thread tirumal b
Hello All, Its enough if i have the apache privileges. Can i login to apache user and to remote computer apache user with public key authentication and run some command there. thank you On Tue, 2003-11-11 at 01:34, tirumal b wrote: Hello All I have written the following command in PHP

Re: [PHP] Re: ssh within PHP

2003-11-11 Thread Eugene Lee
On Mon, Nov 10, 2003 at 11:05:02PM -0800, tirumal b wrote: : : Its enough if i have the apache privileges. Can i : login to apache user and to remote computer apache : user with public key authentication and run some : command there. Usually, the user that Apache runs under does not have a real

Re: [PHP] RE: SSH

2002-05-05 Thread Miguel Cruz
On Sun, 5 May 2002, Insomniac Admin wrote: You could use popen to open a ssh process and wait to be asked for the password etc... Remember to check the RSA key pattern. My experience, at least with recent SSH versions, is that they try very hard to verify stdin is an actual pty before

RE: [PHP] RE: SSH

2002-05-05 Thread Insomniac Admin
] Subject: Re: [PHP] RE: SSH On Sun, 5 May 2002, Insomniac Admin wrote: You could use popen to open a ssh process and wait to be asked for the password etc... Remember to check the RSA key pattern. My experience, at least with recent SSH versions, is that they try very hard to verify stdin

RE: [PHP] RE: SSH

2002-05-05 Thread Miguel Cruz
[mailto:[EMAIL PROTECTED]] Sent: 05 May 2002 07:44 To: [EMAIL PROTECTED] Subject: Re: [PHP] RE: SSH On Sun, 5 May 2002, Insomniac Admin wrote: You could use popen to open a ssh process and wait to be asked for the password etc... Remember to check the RSA key pattern. My experience

[PHP] Re: SSH

2002-05-05 Thread Kyle Gibson
I've tried this, $cmd = `ftpwho`; echo $cmd; and/or $cmd = shell_exec(ftpwho); echo $cmd; But I get this error: Warning: Cannot execute using backquotes in safe mode in test.php on line 2 -Kyle -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: SSH

2002-05-05 Thread Stuart Dallas
On 5 May 2002 at 14:12, Kyle Gibson wrote: Warning: Cannot execute using backquotes in safe mode in test.php on line 2 Your ISP has safe mode turned on which means you cannot use backquotes. Read all about it at http://www.php.net/manual/en/features.safe-mode.php. -- Stuart -- PHP General

Re: [PHP] Re: SSH

2002-05-05 Thread Kyle Gibson
Your ISP has safe mode turned on which means you cannot use backquotes. Read all about it at http://www.php.net/manual/en/features.safe-mode.php. I am my own ISP, techically. In the php.ini file, safe mode is off. Which is why I am curious as to why this is occuring. --- ; ; Safe Mode ;

Re: [PHP] Re: SSH

2002-05-05 Thread Richard Archer
At 2:29 PM -0400 5/5/02, Kyle Gibson wrote: In the php.ini file, safe mode is off. Which is why I am curious as to why this is occuring. What does phpinfo() have to say about it? ...R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: SSH

2002-05-05 Thread Kyle Gibson
What does phpinfo() have to say about it? It says that the Local Value is on but the master value is off. -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: SSH

2002-05-04 Thread Insomniac Admin
Hi, man ssh Do that, you'll see there is a -c command, and also read up on using RSA key authentication, so that the password doesn't have to be entered for that host. BE WARNED - if you use RSA key auth, then any process under the login account you specify it for (it will probably have to be

[PHP] Re: SSH

2002-05-04 Thread Kyle Gibson
Thanks, I'll try what you suggested. -Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php