Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Net::SSH2 related query

by nithins (Sexton)
on Nov 19, 2013 at 13:20 UTC ( [id://1063327]=note: print w/replies, xml ) Need Help??


in reply to Net::SSH2 related query

Tried that($chan->write("ls\n");), but it didn't work

Replies are listed 'Best First'.
Re^2: Net::SSH2 related query
by lune (Pilgrim) on Nov 19, 2013 at 14:21 UTC
    Strange, just tried it for logging in from some ubuntu VM to another linux box which didn't work without newline and worked with the change. Could you add some additional error handling for all channel operations and show me the error ($!)?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-18 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found