Hi,
no, I'm trying to execute it from a web page.
As a php script I was able to do it, and the connection works well, the
problem is that I need to connect with ssh from a web page.
I've tried to copy the php code used in the script into the <html> </html>
but it doesn't work.
I think, that I've found my problem, but I don't know how to solve it.
I mean, I've seen that when I use the php script, the user who executes is
"apache", and the problem is that I've generated a key with ssh-keygen for
another user, not apache, and I don't know how to do.
any idea?
thanx
Lorenza
On Mon, 27 Oct 2003, Shawn Wilson wrote:
You're trying to execute a php script from the command line? If so, something
like:
php -q /path/to/scriptname
should work. Or you may need to add the path info before "php". Try:
whereis php
to find it.
--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com