in reply to
Net::SSH2 related query
Tried that($chan->write("ls\n");), but it didn't work
Comment on
Re: Net::SSH2 related query
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 ($!)?
[reply]
In Section
Seekers of Perl Wisdom