ripcobalt / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

ssh hangs #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make sure network works (for example nc works)
2. make sure host is up (for example nc sees it)
3. create key with dropbearkey
4. ssh -i .ssh/id_rsa user@host

What is the expected output?

I expect to be logged in.

What do you see instead?

ssh just hangs and nothing happens.

What version of the product are you using?

Most recent.

On what operating system?

Android 2.3.6

Please provide any additional information below.

The phone is connected to a wifi network, it is able to browse the web, jping 
hosts, use nc to connect to hosts using IP addresses, etc, so the network is 
up. Using nc I can get the first line of the ssh connection:

terminal++@192.168.1.8:~$ nc -v X.Y.Z.V 22
X.Y.Z.V (X.Y.Z.V:22) open
SSH-2.0-OpenSSH_5.0

So I can connect to the host on port 22 and it responds correctly. However 
using ssh it just hangs.

Original issue reported on code.google.com by fetchin...@googlemail.com on 26 Mar 2013 at 1:56

GoogleCodeExporter commented 8 years ago
Try adding -v to the ssh command....

Original comment by areemt...@gmail.com on 4 Apr 2013 at 4:04

GoogleCodeExporter commented 8 years ago
Same thing happening on a Galaxy Tab 2 10.1 (P5110), stock android version 
4.0.3 and Terminal IDE 2.0.2

To add to the previous report: even when not using an ssh identity key and 
trying to log by user/password pair the same behaviour persists.

Tablet connected on a wifi network and can reach and connect to the server 
without problem (tested with telnet on port 22). The problem happens on every 
single ssh server attempted.

After hanging for a while ssh closes with a "Connection closed by remote host" 
message.

Original comment by alexandr...@gmail.com on 26 Dec 2013 at 10:59