> 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