This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
SSH on Rabbit? - ajf_alex - Apr 24 10:11:19 2008
Has anyone ever looked into implementing SSH (Secure Shell, port 22) on
a Rabbit? It seems there should be a way to do it using the SSL
library, but all the SSL examples are for HTTPS. Seems like you'd need
to call http_write(h)/http_getline(h) direct and bypass/modify the
tcpip\http.lib\http_handler() call by intercepting the h->state signals.
I'm curious if it is possible, if anyone knows or has tried playing
around with it....
Alex
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: SSH on Rabbit? - Scott Henion - Apr 24 11:03:38 2008
ajf_alex wrote:
> Has anyone ever looked into implementing SSH (Secure Shell, port 22) on
> a Rabbit? It seems there should be a way to do it using the SSL
> library, but all the SSL examples are for HTTPS. Seems like you'd need
> to call http_write(h)/http_getline(h) direct and bypass/modify the
> tcpip\http.lib\http_handler() call by intercepting the h->state signals.
>
> I'm curious if it is possible, if anyone knows or has tried playing
> around with it....
>
SSH is a complex protocol in itself. It is not like a telnet through a
secure socket.
I tried porting the SSH2DOS open-source app to DC. After days of messing
with it, I gave up. I fought bugs in the compiler. It also took 6
minutes to do the key exchange on an RCM3700.
I know it would have worked in Softools though ;) It could also have
been ported in an hour.
You might try porting SSH2DOS using the DC SSL and AES libs.
--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
Rabbit libs: http://www.shdesigns.org/rabbit/
today's fortune
Take heart amid the deepening gloom that your dog is finally getting
enough cheese.
-- National Lampoon, "Deteriorata"
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: SSH on Rabbit? - ajf_alex - Apr 24 14:01:46 2008
> it would have worked in Softools though
Have given up on it? Why not use SoftTools then? Do I read this right:
If I take up the task you think I should use SoftTools?
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Re: SSH on Rabbit? - Scott Henion - Apr 24 14:11:44 2008
ajf_alex wrote:
>> it would have worked in Softools though
>>
> Have given up on it? Why not use SoftTools then? Do I read this right:
>
Customer demanded use of DC. So, abandoned project as there was no way
to get around the compile rbugs.
> If I take up the task you think I should use SoftTools?
>
>
As it is ANSI C, it should compile with Softools. Would still need
changes for the socket interface and file handling.
Is this a client or server? The SS2DOS is a client.
--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
Rabbit libs: http://www.shdesigns.org/rabbit/
today's fortune
It's all magic. :-)
-- Larry Wall in <7...@jpl-devvax.JPL.NASA.GOV>

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: SSH on Rabbit? - ajf_alex - Apr 25 8:47:38 2008
I downloaded SSH2DOS yesterday and see it is only client. I would need
server.... hmm. I'm back to making a unique hack to the DC https server-
since we write our own custom software to interface to the RCM over
the network, we could implement the PC-based client in code and so
don't have to use a web browser... I think. Alternately, there's
OpenSSH and although it has a funny name, the source for
this "dropbear" SSH server is also available.
http://www.openssh.org/portable.html
http://matt.ucc.asn.au/dropbear/dropbear.html
> Is this a client or server? The SS2DOS is a client.
>
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: SSH on Rabbit? - Alexandre Kremer - Apr 27 18:56:55 2008
Hi Alex
It would be very nice to have something like that on
rabbit.
Have been playing around with iPhone and SSH is my
best friend on my development for it.
If someone has any info or demo to rabbit i'd like to
give it a try too.
Regards
--- ajf_alex
escreveu:
> Has anyone ever looked into implementing SSH (Secure
> Shell, port 22) on
> a Rabbit? It seems there should be a way to do it
> using the SSL
> library, but all the SSL examples are for HTTPS.
> Seems like you'd need
> to call http_write(h)/http_getline(h) direct and
> bypass/modify the
> tcpip\http.lib\http_handler() call by intercepting
> the h->state signals.
>
> I'm curious if it is possible, if anyone knows or
> has tried playing
> around with it....
>
> Alex
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )