[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Not able to send several commands to the server
[Thread Prev] | [Thread Next]
- Subject: Re: Fwd: Not able to send several commands to the server
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 07 Jul 2015 09:14:54 +0200
- To: libssh@xxxxxxxxxx
On Monday 06 July 2015 19:11:57 Moises Cedeño wrote: > Hello Development team, currently Im trying to stablish a connection to my > beaglebone black(Texas Instruments Dev Board) using libssh library and > managed to authenticate and login as root but Im not able to send multiple > commands to my remote server(beaglebone black). Also if I try to send a > different command rather than "ls -l" "echo XXX" seems it is throwing an > error like this: > > module.js:340 > throw err; > ^ > Error: Cannot find module 'bonescript' > at Function.Module._resolveFilename (m > at Function.Module._load (module.js:28 > at Module.require (module.js:362:17) > at require (module.js:378:17) > at Object.<anonymous> (/home/root/RsBo > at Module._compile (module.js:449:26) > at Object.Module._extensions..js (modu > at Module.load (module.js:356:32) > at Function.Module._load (module.js:31 > at Module.runMain (module.js:492:10) > > > Running the same command using Putty works and my node script is executed... > > Can you please help me with this? For each ssh_channel_request_exec() you need to create a new channel ... -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Fwd: Not able to send several commands to the server | Moises Cedeño <moises.cedeno.torres@xxxxxxxxx> |