SSH Authentication using php
| From: | Teren | Date: | Mon, 16 Aug 2004 15:39:41 +0000 |
| Subject: | SSH Authentication using php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193954@lists.php.net to get a copy of this message | ||
Hi, what my goal is is to be able to authenticate a user by they SSH acount on the system using php.
I tried looking on google, but didn't see anything with ssh. What i've tried to do is use
the exec() and just do:
exec("ssh user@localhost".escapleshellard("password"));
but that didn't seem to work. Any ideas?
Thanks
Teren