Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. Default Working native ssh client & server - dropbear

    I scourered this forum quite a bit and found that the only ssh client seemed to be the java one (and a UI app as well? wasn't sure about that).

    After a lot of messing around, I got dropbear to finally work on my a780. Attached is my script to download, patch, configure, make and strip dropbear for the a780, e680 & e680i (at least, I presume it will work on e680/i). I compiled using ezx-crosstool-0.5 (get it here) on a WinXP/cywin machine. I also skipped (disabled) zlib support because I didn't have it in my toolchain.

    Enjoy!
    Daniel

    Edit: oops, almost forgot a link to the dropbear homepage: http://matt.ucc.asn.au/dropbear/dropbear.html
    Edit: Made the multi-binary a tar/bzip2 also for consistency.
    Attached Files Attached Files

  2. #2

    Default Re: Working native ssh client & server - dropbear

    I can't download any of the attachments.

  3. #3

    Default Re: Working native ssh client & server - dropbear

    While you're at fixing the attachments, could you tell me how you went about copying /usr/lib off of your A780 into crosstool? I keep getting errors about not being able to find ezxappbase-xscale-r. I used qonsole and did a cp -prH /usr/lib /mmc/mmca1/lib. I then took the flash and put it into my wife's XP box, and from cygwin cp -pr i:\lib lib/ezx/lib (while in the crosstool dir).

    The moment I try to do a make for "helloworld", it complains that it cannot find ezxappbase-xscale-r. In that directory you'd find libezxappbase-xscale-r.so.1.0.0.

    You have the same?

  4. Default Re: Working native ssh client & server - dropbear

    Ok, my appologies for the messed up download links, I didn't notice that it tried to make them embeded flash objects.
    <pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awesomeswap 16384
    sync
    swapon /ram/awesomeswap</pre>

  5. Default Re: Working native ssh client & server - dropbear

    While you're at fixing the attachments, could you tell me how you went about copying /usr/lib off of your A780 into crosstool? I keep getting errors about not being able to find ezxappbase-xscale-r. I used qonsole and did a cp -prH /usr/lib /mmc/mmca1/lib. I then took the flash and put it into my wife's XP box, and from cygwin cp -pr i:\lib lib/ezx/lib (while in the crosstool dir).

    The moment I try to do a make for "helloworld", it complains that it cannot find ezxappbase-xscale-r. Sad In that directory you'd find libezxappbase-xscale-r.so.1.0.0.

    You have the same?
    I didn't use the libs on the phone. Also, notice that some of the libs in /usr/lib link to ../../lib, So these links are going to be unresolved if you copy them. Not sure what to say about the best approach for this, I'm still a newbie to quite a lot of this stuff.

    I have the following additional libs installed in my /diska/lib (which I add to the LIBRARY_PATH for shell session):

    Code:
    (root@a780)$ la -alF /diska/lib
    total 1396
    drwxrwxr-x    2 ezx      ezx          2048 May 13 09:06 ./
    drwxrwxr-x   19 ezx      ezx         16384 Jan  1  1970 ../
    -rwxrwxr-x    1 ezx      ezx         89334 Apr 30  2005 libform.a*
    -rwxrwxr-x    1 ezx      ezx         61480 Apr 30  2005 libform.so.5.4*
    -rwxrwxr-x    1 ezx      ezx         46938 Apr 30  2005 libmenu.a*
    -rwxrwxr-x    1 ezx      ezx         33247 Apr 30  2005 libmenu.so.5.4*
    -rwxrwxr-x    1 ezx      ezx        450410 Apr 30  2005 libncurses.a*
    -rwxrwxr-x    1 ezx      ezx        316604 May 13 09:06 libncurses.so.5*
    -rwxrwxr-x    1 ezx      ezx        316604 Apr 30  2005 libncurses.so.5.4*
    -rwxrwxr-x    1 ezx      ezx         20676 Apr 30  2005 libpanel.a*
    -rwxrwxr-x    1 ezx      ezx         15761 Apr 30  2005 libpanel.so.5.4*
    -rwxrwxr-x    1 ezx      ezx         49500 Apr 30  2005 libproc-3.2.5.so*
    I needed libncurses for bash2, I don't remember what I needed all of the others for. If you want to copy the libs from your phone, I would recomend:

    Code:
    cd /
    tar czf /diska/mylibs.tgz lib usr/lib
    This is 24 MB uncompressed, so I'm guessing it should be about 10MB or so compressed. If you are putting this on a windows machine, make sure you use cygwin tar so it will be able to support the links. (or just copy the files over

  6. #6

    Default Re: Working native ssh client & server - dropbear

    I worked it out by tarring it up. Thanks for looking for me though.

  7. #7
    Join Date
    Nov 2005
    Location
    France
    Posts
    99

    Default Re: Working native ssh client & server - dropbear

    thanks for the contribution. I like your build system. Your patches are under integration into our build framework mkezx http://dev.jerryweb.org/mkezx/

  8. Default Re: Working native ssh client & server - dropbear

    kewl. It needs to have x11 auth removed from it however. I realized later that wont be getting used anytime soon. And it also needs a step to make the "scp" executable. I've kept meaning to get it updated and re-post it

    Daniel
    <pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awesomeswap 16384
    sync
    swapon /ram/awesomeswap</pre>

  9. #9

    Default Re: Working native ssh client & server - dropbear

    Should we move this topic over to the 'Development' forum?

  10. #10
    Join Date
    Sep 2005
    Location
    Brannenburg
    Posts
    14

    Default Re: Working native ssh client & server - dropbear

    Would it easily be possible to compile the OpenSSH sshd for A780 with ezx-crosstool-0.5?
    I mean OpenSSH scp and ssh are working properly on my phone, I still only need sshd.

    With OpenSSH sshd I would for example not have the problem of different public key formats and would have no limitations. I could simply copy my sshd config-file and keyfile from my computer to the phone.
    Has anybody thought about that issue?
    Maybe someone can tell me more about the advantages/disadvantages between dropbear and OpenSSH and perhaps about cross-compiling sshd with ezx-crosstool-0.5 as I´m not a cross-compiling expert.


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Email client, preferably native Linux
    By shuveb in forum E6 General Chat
    Replies: 0
    Last Post: 08-17-2008, 03:10 AM
  2. Q: Native SSH Client?
    By m1k0 in forum E6 General Chat
    Replies: 1
    Last Post: 10-21-2007, 02:41 PM
  3. Found a working Google Talk Chat client
    By zahirw in forum A1200 General Chat
    Replies: 1
    Last Post: 01-12-2007, 12:17 AM
  4. Replies: 2
    Last Post: 08-28-2006, 12:28 AM
  5. Working a780 ssh client & server - Request testing on e6
    By daniel.santos in forum E680i General Chat
    Replies: 4
    Last Post: 05-19-2006, 10:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1