Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Net::SSH2 related query

by nithins (Sexton)
on Nov 19, 2013 at 13:20 UTC ( #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? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-06-26 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (84 votes). Check out past polls.

    Notices?