delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/06/11:17:04

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=UDR+pp7Chk2P5eNg
6UMYiLQUROfyEEpJeoLtLntP3bFxLlSlfo87OCmJ4Yl4AF0l0jNgqDPmF626y71f
hvgN34t/xhCKMTEush2CMvdx1rJ1Ssfpt+SjnSoVblGY0DZ0OKQJVBldIzv6HKB7
VigWvHt+QtR5Sx1opceQ4vftG+U=
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=mGv5nA2B99UzMZwjMl7Bdm
cahTE=; b=X4Zr4uLJjzZzRmWcOAtHtE4/v84moLc21HyfEWbwAx86xn3qKgLtV2
HTOQX7spT7FB0TO2p/uLAbQu6CiPZg8DVK0ogOHoeTboonX3a9jeq6hgj8WTq+Lm
IOJE5XJm7WrNzXac4EJdwrU5jwmoBd/EVVC2THZEN5VQOaniLx0iE=
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=1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm5-vm9.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> <1409955834 DOT 79720 DOT YahooMailNeo AT web172502 DOT mail DOT ir2 DOT yahoo DOT com>
Message-ID: <1410016598.66170.YahooMailNeo@web172505.mail.ir2.yahoo.com>
Date: Sat, 6 Sep 2014 16:16:38 +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: <1409955834.79720.YahooMailNeo@web172502.mail.ir2.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s86FGx0S021963





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





I was finding VX ConnectBot crashed on it. So none of the apps were working to connect me.

I didn't restart the router, but I did reinstall cygwin and that fixed it.

So, for some reason the cygwin sshd server was eating some packets and cygwin needed to be reinstalled.

I renamed the cygwin directory and cygwin package directories, and reinstalled cygwin.

Though thanks for your responses I foudn out that indeed dropbear ssh does support cygwin sshd, and I have the option of the terminal ide keyboard too.

--
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