1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato SSH

Discussion in 'Tomato Firmware' started by tna5000, Apr 24, 2009.

  1. tna5000

    tna5000 Addicted to LI Member

    Hello everyone,

    I'm a tomato user for some time now, i'm running a linksys WRT54GL with tomato 1.23.

    I've been experiencing problems with the dropbear ssh that is built into tomato, i believe that for the most part the problem stems from the ssh client that i am using, which is not meshing well with the dropbear ssh server (drop bear does work well when I use puTTY). The only thing is, that client does work well with other SSH servers such as OpenSSH.

    The error i'm seeing in the log is as follows:

    Apr 24 15:44:42 ? authpriv.info dropbear[20173]: Child connection from 97.141.17.116:32779
    Apr 24 15:44:43 ? authpriv.info dropbear[20173]: exit before auth: no matching algo hostkey

    In the client a connection is created but then immediately dropped. In case it helps the client I'm using is MidpSSH on a blackberry. (Again i can use this client to access SSH servers running OpenSSH and other SSH servers). From the error, it sounds as if the client is disconnecting, but I'm just not sure.

    Can anyone point me in the right direction on how to try and troubleshoot this (from the server side)? If not, maybe a work around (can the dropbear ssh server be replaced with open ssh)?

    Thanks for taking a look.
     
  2. fyellin

    fyellin LI Guru Member

    This is just a guess. But it appears that the blackberry is running a stripped down version of the client and tomato is running a stripped down version of the server. They need to find an encryption algorithm that they both understand, and they might not speak anything in common.

    Are you running "ssh" directly on the blackberry? Can you add the flags "-v -v -v" and see if the much more verbose output is helpful?
     
  3. tna5000

    tna5000 Addicted to LI Member

    I see. The ssh client is running directly on the blackberry, but i do not see a way to add any commands to make it spit out more verbose logging.

    MidpSSH uses 3des-cbc.
    Does anyone know of a way to make dropbear ssh accept 3des-cbc?
     

Share This Page