Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can't connect to Ubuntu box
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brett Shepard  
View profile  
 More options Oct 24 2012, 10:27 pm
From: Brett Shepard <bdshep...@gmail.com>
Date: Wed, 24 Oct 2012 19:27:31 -0700 (PDT)
Local: Wed, Oct 24 2012 10:27 pm
Subject: Can't connect to Ubuntu box

I can connect just fine from my WinXP machine using PuTTY, but Connect Bot
gives me:

---------------------------------
Connecting to 192.168.1.53:22 via ssh

Connection Lost
Connecting to 192.168.1.53:22 via ssh
The operation timed out
The operation timed out
---------------------------------

The PC is wired, and the phone is connected via WiFi. I'm sitting at home
on my home network, and I get a nearly instant connection from the PC.

Suggestions? What other info do you need to help trouble shoot?

TIA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shai Ayal  
View profile  
 More options Oct 24 2012, 10:37 pm
From: Shai Ayal <sha...@gmail.com>
Date: Wed, 24 Oct 2012 22:37:05 -0400
Local: Wed, Oct 24 2012 10:37 pm
Subject: Re: Can't connect to Ubuntu box

Install aLogcat and look at what connectbot has to say in the log

--
SPT <https://market.android.com/details?id=org.ayal.SPT> - persistent SSH
tunnels for android.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett Shepard  
View profile  
 More options Oct 24 2012, 10:51 pm
From: Brett Shepard <bdshep...@gmail.com>
Date: Wed, 24 Oct 2012 19:51:30 -0700 (PDT)
Local: Wed, Oct 24 2012 10:51 pm
Subject: Re: Can't connect to Ubuntu box

I think these are the relevant bits...

D/NotificationService(25699):
ACTION_NOTIFICATION_ADD,id=1,pkg=org.connectbot
I/ConnectBot.TerminalBridge(30748): parentChanged() now width=60, height=40
I/ActivityManager(25699): Displayed activity
org.connectbot/.ConsoleActivity: 737 ms (total 737 ms)
I/ConnectBot.TerminalBridge(30748): parentChanged() now width=60, height=23
E/ConnectBot.SSH(30748): Problem in SSH connection thread during
authentication
E/ConnectBot.SSH(30748): java.io.IOException: There was a problem while
connecting to 192.169.1.53:22
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.Connection.connect(Connection.java:864)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.Connection.connect(Connection.java:644)
E/ConnectBot.SSH(30748):     at
org.connectbot.transport.SSH.connect(SSH.java:427)
E/ConnectBot.SSH(30748):     at
org.connectbot.service.TerminalBridge$3.run(TerminalBridge.java:275)
E/ConnectBot.SSH(30748):     at java.lang.Thread.run(Thread.java:1102)
E/ConnectBot.SSH(30748): Caused by: java.net.SocketException: The operation
timed out
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSo cketImpl(Native
Method)
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.platform.OSNetworkSystem.connect(OSNetworkSystem.ja va:115)
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:24 4)
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:53 3)
E/ConnectBot.SSH(30748):     at java.net.Socket.connect(Socket.java:1055)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.transport.TransportManager.establishConnection(TransportMa nager.java:342)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.jav a:450)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.Connection.connect(Connection.java:804)
E/ConnectBot.SSH(30748):     ... 4 more
D/ConnectBot.ConsoleActivity(30748): Someone sending HANDLE_DISCONNECT to
parentHandler
D/NotificationService(25699): cancelNotification,
ACTION_NOTIFICATION_REMOVE,pkg=org.connectbot,id=1
D/ConnectBot.ConsoleActivity(30748): onPause called
E/ConnectBot.SSH(30748): Problem in SSH connection thread during
authentication
E/ConnectBot.SSH(30748): java.io.IOException: There was a problem while
connecting to 192.169.1.53:22
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.Connection.connect(Connection.java:864)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.Connection.connect(Connection.java:644)
E/ConnectBot.SSH(30748):     at
org.connectbot.transport.SSH.connect(SSH.java:427)
E/ConnectBot.SSH(30748):     at
org.connectbot.service.TerminalBridge$3.run(TerminalBridge.java:275)
E/ConnectBot.SSH(30748):     at java.lang.Thread.run(Thread.java:1102)
E/ConnectBot.SSH(30748): Caused by: java.net.SocketException: The operation
timed out
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSo cketImpl(Native
Method)
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.platform.OSNetworkSystem.connect(OSNetworkSystem.ja va:115)
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:24 4)
E/ConnectBot.SSH(30748):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:53 3)
E/ConnectBot.SSH(30748):     at java.net.Socket.connect(Socket.java:1055)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.transport.TransportManager.establishConnection(TransportMa nager.java:342)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.jav a:450)
E/ConnectBot.SSH(30748):     at
com.trilead.ssh2.Connection.connect(Connection.java:804)
E/ConnectBot.SSH(30748):     ... 4 more
I/ConnectBot.TerminalManager(30748): Someone unbound from TerminalManager
D/ConnectBot.TerminalManager(30748): Stopping background service immediately
I/ConnectBot.TerminalManager(30748): Destroying background service
--------------------------------------------------------------------------- ------------------

Looks like there's an error from Java on a time out, but doesn't seem (to
me) to indicate what's causing it. Do I need to change settings in aLogcat?
Level is currently Verbose, and Format is Brief.

Thanks a bunch!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shai Ayal  
View profile  
 More options Oct 25 2012, 6:36 am
From: Shai Ayal <sha...@gmail.com>
Date: Thu, 25 Oct 2012 06:36:05 -0400
Local: Thurs, Oct 25 2012 6:36 am
Subject: Re: Can't connect to Ubuntu box

OK. can you try to connect from the phone to  192.169.1.53 by some
other means? maybe it has a web server, or maybe just ping?

--
SPT - persistent SSH tunnels for android.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
l00g33k  
View profile  
 More options Oct 25 2012, 10:46 am
From: l00g33k <l00g...@gmail.com>
Date: Thu, 25 Oct 2012 07:45:59 -0700
Local: Thurs, Oct 25 2012 10:45 am
Subject: Re: Can't connect to Ubuntu box

Or use telnet protocol to connect to ssshd (port 22).  Do same from desktop to see what to expect.

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett Shepard  
View profile  
 More options Oct 25 2012, 10:52 am
From: Brett Shepard <bdshep...@gmail.com>
Date: Thu, 25 Oct 2012 07:52:52 -0700 (PDT)
Local: Thurs, Oct 25 2012 10:52 am
Subject: Re: Can't connect to Ubuntu box

I sure can. I'm running XBMC on the Ubuntu box, and I use the XBMC remote
control app on the phone to connect to it. Also, I just tried to ping, and
was getting <2ms response times.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett Shepard  
View profile  
 More options Oct 25 2012, 10:58 am
From: Brett Shepard <bdshep...@gmail.com>
Date: Thu, 25 Oct 2012 07:58:55 -0700 (PDT)
Local: Thurs, Oct 25 2012 10:58 am
Subject: Re: Can't connect to Ubuntu box

I attempted to telnet to port 22. I got no response on the phone or desktop
- it said "SSH-2.0-OpenSSH_5.8p1 Debian-7ubuntu1" and stared back at me.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
l00g33k  
View profile  
 More options Oct 25 2012, 11:07 am
From: l00g33k <l00g...@gmail.com>
Date: Thu, 25 Oct 2012 08:07:06 -0700
Local: Thurs, Oct 25 2012 11:07 am
Subject: Re: Can't connect to Ubuntu box

The response is as expected.  It proves that you have gotten a text string from the sshd server! The SSH version string.

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett Shepard  
View profile  
 More options Oct 25 2012, 11:56 am
From: Brett Shepard <bdshep...@gmail.com>
Date: Thu, 25 Oct 2012 08:56:54 -0700 (PDT)
Local: Thurs, Oct 25 2012 11:56 am
Subject: Re: Can't connect to Ubuntu box

Not sure what happened to my original response...

I take it, then, that this is a good sign. Is there anything further I
should pursue on this path?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
l00g33k  
View profile  
 More options Oct 25 2012, 12:10 pm
From: "l00g33k" <l00g...@gmail.com>
Date: Thu, 25 Oct 2012 09:10:14 -0700
Local: Thurs, Oct 25 2012 12:10 pm
Subject: Re: Can't connect to Ubuntu box
You didn't quote what you are responding to but I take it to be mine.

I have never rebuild ConnectBot nor look at the source, but here's my
guess.  The bottom most layer in ConnectBot that talks just slightly
above the TCP level is working fine in that it is able to communicate
and exchange data with the sshd server.  If indeed as your logcat suggest
there is an exception in the Java code, it is likely in the higher level
dealing with the ssh protocol.

Without the coder taking a closer look, we really don't know.

But if you can/want to try difference version of the sshd server, say
lower than 5.8, even just briefly, may be some versions will work.
Alternatively you can try 5.8 on another Linux machine, say on a
different distro.

Bear in mind that I'm just suggesting what I can think of, not necessary
what you should do.  It may be more productive to wait for a volunteer
coder to take a look.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett Shepard  
View profile  
 More options Oct 25 2012, 12:22 pm
From: Brett Shepard <bdshep...@gmail.com>
Date: Thu, 25 Oct 2012 09:22:16 -0700 (PDT)
Local: Thurs, Oct 25 2012 12:22 pm
Subject: Re: Can't connect to Ubuntu box

Sorry, l00g33k, I'm looking at the website where the conversation is neatly
threaded, so I deleted the very long quote string. Yes, I was responding to
you.

You've gone over my head with this, I've never delved much into the 7
different layers involved in communication, so I wouldn't have a clue where
to start looking, I'm not enough of a Linux geek to want to mess around
with trying another version of SSH - especially since this is on my HTPC,
and any time it's been unavailable, there is a major ruckus at the house!
8-(

I appreciate your thoughts, hopefully someone else will have some
suggestions, or be able to delve into the code to see what's up.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett Shepard  
View profile  
 More options Oct 26 2012, 3:55 pm
From: Brett Shepard <bdshep...@gmail.com>
Date: Fri, 26 Oct 2012 12:55:46 -0700 (PDT)
Local: Fri, Oct 26 2012 3:55 pm
Subject: Re: Can't connect to Ubuntu box

Any other suggestions on what to look at? Would it be helpful to turn up
the level of what's reported in aLogcat?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »