Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Issue with Net::Appliance::Session

by roboticus (Chancellor)
on Jun 09, 2015 at 11:23 UTC ( [id://1129645]=note: print w/replies, xml ) Need Help??


in reply to Issue with Net::Appliance::Session

ThePerlNoob:

I'd suggest temporarily changing the password to one having no special characters to test it. That will show you whether the content of the password has something to do with it (in which case you need to figure out how to escape the special characters) or if there's a logic error in the code. (I don't use the module, so I wouldn't notice anything not painfully obvious.)

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: Issue with Net::Appliance::Session
by ThePerlNoob (Initiate) on Jun 09, 2015 at 16:35 UTC

    Thank you for the reply.

    I was not able to remove the complexity at the time due to the kit being in production however I have built another device up to test with. That is now running a simple password and it still doesn't work. It's like the password isn't being sent. I will keep looking.

      ThePerlNoob:

      Ok, if you've eliminated the password, I'd try turning on the logging for the session, and turn up the detail to see if there are any clues in that. I'm guessing that there may be a problem establishing an SSH connection. Another option would be to try a telnet connection to see if there's a difference.

      You may also want to show some of the output of the program, and add some traces to your code so you can tell which lines are having the problem. (Since you don't specify, I expect it's the connect call.)

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1129645]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-24 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found