[nycphp-talk] SSH2_CONNECT
Michele Waldman
mmwaldman at nyc.rr.com
Thu Jul 30 15:30:26 EDT 2009
Are you sure?
The scenario is I'm running a php script but I want to switch linix users?
Do I have to use ssh2? I would have to go off the server and come back in
just to switch users?
Michele
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
> On Behalf Of Hans Zaunere
> Sent: Thursday, July 30, 2009 2:58 PM
> To: 'NYPHP Talk'
> Subject: Re: [nycphp-talk] SSH2_CONNECT
>
> > If I'm on a server already what function can I use to connect as
> > another user?
>
> Seems like a reasonable choice:
>
> http://us2.php.net/manual/en/function.ssh2-connect.php
>
> Then you'll probably want:
>
> http://us2.php.net/manual/en/function.ssh2-auth-password.php
>
> H
>
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
More information about the talk
mailing list