On Mon, 2004-08-16 at 10:15, Michal Migurski wrote:
> > > 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 [EMAIL PROTECTED]".escapleshellard("password"));
> > >
> >
> > You can try setting up authorized_keys for this. Then you don't need to
> > pass it the password.
> 
> ...but you'd still need to provide the ssh passphrase, or have an instance
> of ssh-agent running. Teren, what are you trying to do exactly? Is ssh
> actually necessary, or are you really just trying to authenticate users by
> their unix accounts?

You can go without using the passphrase as well.



-- 
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
****************************************/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to