This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: any ssh for android that can connect to cygwin's sshd?






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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]