Hi Bas!

SSH is possible but complicated.

For telnet, simply use fsockopen() (default telnet port is 23).

This returns a filepointer so you can read/write like as a regular file.

greets,
Bas van Rooijen


On Mon, 17 Dec 2001 17:28:04 +0100, Bas van Schaik wrote:

>Hello everybody!
>
>I need some help. I want to use a SSH (or, if SSH is impossible, telnet)
>connection in PHP. But I can't find anything about it. The only thing about
>telnet in the PHP manual (English), is that Curl supports it, but how? Tanks
>in advance for all replies!
>
>Bas
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to