http://qs321.pair.com?node_id=1063327


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 ($!)?