Hi Benoît,

To communicate by ssh you can use the same library that i used to build my 
proper component:  libssh.0.52 at this url:  http://www.libssh.org/

and you can get my component here: 
http://www.gambasforge.org/code-45-gbsshclient.html

Olivier Cruilles

Le 30 mai 2012 à 13:37, Benoît Minisini <gam...@users.sourceforge.net> a écrit :

> Le 30/05/2012 13:08, jm a écrit :
>> On Wed, 2012-05-30 at 10:55 +0200, Benoît Minisini wrote:
>>> Le 30/05/2012 10:48, Caveat a écrit :
>>>> Anyone need specific tests carried out, just let me know!
>>>> 
>>>> OK, OK, I really just wanted to let everyone know it's here!
>>>> 
>>>> Kind regards,
>>>> Caveat
>>>> 
>>> 
>>> These privileged people... :-)
>>> 
>>> I was thinking: maybe I must find a way to let the IDE debug programs
>>> remotely. I mean: developing the program on the PC, click on the start
>>> button, and magically the program is run on the Raspberry and debugged
>>> remotely.
>>> 
>>> But I don't know what could be the best solution for that. Give your
>>> ideas people...
>> 
>> 
>> I just received mine from Farnell. Wanted 5 got 1 on allocation :(
>> Still its here and getting Gambas and Ubuntu going on it is high on the
>> priority list.
>> 
>> For remote operation of gambas IDE, I normally spend time on lab and
>> access the main desktop in office with ssh -X.
>> 
>> ssh -X username@ip_address_of_pc
>> 
>> If running Ubuntu I can do this:
>> 
>> ssh -X username@pc_host_name.local (saves having to remember ipaddress)
>> 
>> I compile/run gambas IDE on office PC as needed from Lab PC with no loss
>> of speed or effectiveness. In effect ssh -X does the full remote
>> developer thing.
>> 
>> So I imagine if Raspberry had going inside it X, gambas and ssh, and it
>> was connected by ethernet, then ssh -X will work, and the full testing
>> and debugging can be carried out from a remote PC with no code changes
>> to Gambas!
>> 
>> Ahhh the wonders of Linux! :-)
>> 
>> 
>> [p.s. There are a couple of pointers to Gambas3 and Rasberry,
>>  but does anyone have some knowledge of Ubuntu + Gambas3 working and
>>  available as downloadable image file for SDCard?]
>> 
> 
> I'd like to just do the debugging remotely. Maybe ssh is the better 
> solution.
> 
> So the user would have to enter a login, a password and an host/ip in 
> the IDE, the IDE will connect to the RPi that way, and will be able to 
> run the project in debugging mode.
> 
> Now I must find a way to let the project in debugging mode communicate 
> with the IDE on the PC. It should be a matter of having a socket go 
> through the ssh connection.
> 
> A bit like 'ssh -X' I imagine, but I don't know exactly how it should be 
> done.
> 
> If nobody tells me, I will ask google!
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to