delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/05/18:24:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:references:message-id:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Hp0Wvf+eMEx2BWfN
u7kobAgLTwB3NpsCCNW/YtoW7Y2077EWBkhXwYfFQhYg2qtu2LklAiQzito+8WTi
UXhAXuu46LcbJm0FIr+Q0zfmjXwIwwPX1KWMVVmGa/4Y87KXsPfxk8pyuHaCu7jo
EcQ4R9GZyJ+I8V4jRWOqpnTwDqk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:references:message-id:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=So6q8UHqIcr4wvtDYtqr0/
wx9xo=; b=WM4cACvVEUKq+8Gw4aMzTYI73phxh+6WaTXXvooq5iXoSD7tz5sEmb
xnHMgUm81faHsUu1QpJUCJhPd8H8b37TzgS6dhu3iOBbYwPQyhP48M9ORiph9S4z
QDwcee9cOmU2nvnCeesDn2B+sciAskLgcJikhGUs9axOf7szgIUyI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm5-vm4.bullet.mail.ir2.yahoo.com
References: <1409929622 DOT 58022 DOT YahooMailNeo AT web172505 DOT mail DOT ir2 DOT yahoo DOT com> <alpine DOT LFD DOT 2 DOT 03 DOT 1409050823510 DOT 26243 AT KarmannGhia DOT org>
Message-ID: <1409955834.79720.YahooMailNeo@web172502.mail.ir2.yahoo.com>
Date: Fri, 5 Sep 2014 23:23:54 +0100
From: Marilo <narium85-mlscar AT yahoo DOT co DOT uk>
Reply-To: Marilo <narium85-mlscar AT yahoo DOT co DOT uk>
Subject: Re: any ssh for android that can connect to cygwin's sshd?
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
In-Reply-To: <alpine.LFD.2.03.1409050823510.26243@KarmannGhia.org>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s85MODYl020125




On Friday, 5 September 2014, 16:18, Richard <richard AT KarmannGhia DOT org> wrote:

On Fri, 5 Sep 2014, Marilo wrote:
>> 
>> I am able to connect to a server running Cygwin's sshd from a computer running debian openssh.. or from >>a computer running cygwin. So the server is set fine. If the key fails it prompts for a password, i've >>set the server's sshd_config is set like that.
>> But the Android apps that i've tried e.g. 'better terminal' and perhaps juicessh, tend to use Dropbear ssh, and dropbear ssh gives an error when trying to connect. It says
>> ssh: Connection to user AT host:123 exited: 
>> No matching algo hostkey
>> 
>> maybe the encryption algorithms don't match, but i'm no expert
>> Is there anything I can do at cygwin's sshd end.. Or, any command line ssh client for android that is known to be able to connect to it?

>I use something called "Terminal-IDE".

>One big problem with what you want to do is with the keyboard and 
>Terminal-IDE provides a full keyboard solution... Check it out...

>Richard

Terminal IDE does indeed have a great keyboard, it installs it and then it's available for any terminal app.  Though I see it uses dropbear ssh and gives the same error as better terminal. (in fact, better terminal has a slightly later version of dropbear ssh that includes a -v option), nevertheless.. both are dropbear ssh and give the same error when going to cygwin sshd.  Though clearly you guys don't get the error. 

Here is a screenshot of a packet capture
http://i.imgur.com/uqpqMcz.png

10.0.0.4 is my phone, and 10.0.0.5:222 is the cygwin sshd server.

Though it(10.0.0.4/my phone), is fine connecting to bitvise sshd on 10.0.0.5:22  or to a linux machine 10.0.0.10:22. And to rule out my WLAN, the one other computer on my WLAN can connect to my cygwin sshd server.

I tried moving the cygwin sshd server to port 22 instead of 222. But same error from ssh, and packet capture still showed TCP Dup ACK  and I see TCP Retransmission.. but also, this time I see from the packet capture screenshot here, that it got as far as some SSH protocol. But still same error at same point, from dropbear ssh on my mobile.  I don't have another device running dropbear ssh to try.

http://i.imgur.com/VZpCr95.png

I will try reinstalling cygwin on the machine in question. And i'll try turning the router off and on first

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019