Jump to content

Archived

This topic is now archived and is closed to further replies.

miseleigh

PHP Telnet login failed...

Recommended Posts

I'm trying to access a device through php's telnet functions.  I found a script (link: [url=http://www.geckotribe.com/php-telnet/]http://www.geckotribe.com/php-telnet/[/url]) to use, but it keeps returning '[PHP Telnet] Connect failed: Login failed'.  I know I have the IP address, un, and password right; any suggestions?  The only thing I can think of is that the device uses an 'auth' cli command for the login, and maybe this isn't working for that.

function call: [code]$result = $telnet->Connect('xxx.xxx.x.x','un','pw');[/code]

Share this post


Link to post
Share on other sites
[quote]I'm trying to access a device through php's telnet functions.[/quote]

Um... php doesn't have any telnet functions. Are you using sockets?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.