miseleigh Posted October 23, 2006 Share Posted October 23, 2006 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] Link to comment https://forums.phpfreaks.com/topic/24871-php-telnet-login-failed/ Share on other sites More sharing options...
trq Posted October 23, 2006 Share Posted October 23, 2006 [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? Link to comment https://forums.phpfreaks.com/topic/24871-php-telnet-login-failed/#findComment-113403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.