08/27/2011, 08:23 AM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: Austin, TX
Posts: 181
Likes Received: 20
Thanks: 4
Thanked 13 Times in 11 Posts
|
I noticed that after I upgraded to 3.0.2 on my TouchPad that SSH access went away. I've followed these steps thus far:
1.) Went into Preware and re-installed OpenSSH - No effect 2.) Installed 'Emergency Service Enabler' via Preware - SSH now listening on pot 22 as expected, but connecting results in: "ssh_exchange_identification: Connection closed by remote host" 3.) I check to see if my keys are still there. Strangely enough they are not. So I re-run the steps outlined at Application:OpenSSH - WebOS Internals - Still getting "ssh_exchange_identification: Connection closed by remote host" 4.) So I try taking the public key from my Linux box (id_rsa.pub), and adding it to the 'authorized_keys' of the TouchPad - Still getting "ssh_exchange_identification: Connection closed by remote host" 5.) Finally I check /var/log/messages, and I notice every time I try to connect, openssh crashes with this message: Code:
2011-08-27T01:19:11.524621Z [252439] webos-device kern.info kernel: [252439.765367] minicore_launch: CRASH! sshd(2180) received 11. Waiting up to 60s for minicore to attach. -Jeremy |
08/27/2011, 09:25 AM
|
#2 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: Austin, TX
Posts: 181
Likes Received: 20
Thanks: 4
Thanked 13 Times in 11 Posts
|
Something I forgot to mention: When I run /opt/bin/ssh-keygen
I get some strange output: Code:
root@HPTouchPad:/# /opt/bin/ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/root/.ssh/id_rsa): /home/root/.ssh/id_rsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in �. Your public key has been saved in �.pub. The key fingerprint is: f0:f0:2c:89:cc:b9:6e:5a:af:5a:74:ed:fc:a5:ad:f3 root@� I've also tried completely uninstalling all optware based stuff in preware and re-installing all of it. -Jeremy |
10/02/2011, 09:10 AM
|
#3 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: Austin, TX
Posts: 181
Likes Received: 20
Thanks: 4
Thanked 13 Times in 11 Posts
|
I'm attaching some strace output hoping someone can help me with this. The strace was produced by the command:
Code:
ssh jeremy@the-edge-consulting.com If need be I can try installing GDB if someone can give me (or point me to) some instructions on how to install it. -Jeremy |
10/02/2011, 04:48 PM
|
#4 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Seen this before, but never was able to diagnose it. It only happens on some devices for some reason.
Uninstall all the openssh stuff, reboot, install them. Generate your key on a desktop computer. -- Rod |
10/02/2011, 06:46 PM
|
#5 (permalink) | |
|
Member
![]() ![]() Join Date: Aug 2009
Location: Austin, TX
Posts: 181
Likes Received: 20
Thanks: 4
Thanked 13 Times in 11 Posts
|
Quote:
Uninstalling the OpenSSH stuff, rebooting, and re-installing did not help. However uninstalling all of the Optware/Linux stuff, rebooting, and re-installing did help. It's all working now. Btw, my first order of business once it was working was loading up Xecutah/Xterm, doing an ssh -X into my Linux box and running Firefox on my TouchPad. It was awesome! Thanks again for all your hard work! Is there a way to scroll up/down in Xterm? Or right click? -- Sent from my HP TouchPad using Communities |
|
02/05/2012, 09:01 PM
|
#7 (permalink) |
|
Member
![]() Join Date: Feb 2008
Posts: 340
Likes Received: 8
Thanks: 132
Thanked 50 Times in 37 Posts
|
Sorry SSH noob question -- how does one generate a key on the PC/desktop? I'm thinking via webOSQuickInstall's Linux Commandline function?
Or wait, can I just use another Pre's or Touchpad's authorized_keys file and paired .ppk file? Holy smokes, I think that's possible. *slaponforehead* Will try later
|
02/06/2012, 09:16 PM
|
#8 (permalink) |
|
Member
![]() Join Date: Jan 2012
Posts: 27
Likes Received: 1
Thanks: 5
Thanked 1 Time in 1 Post
|
is ssh working on 3.0.5?
I get segmentation fault trying to connect to a remote server. I've already tried removing xterm, xserver, xecutah, openssh, and other optware, reboot, reinstall, but no success. Anyone have a working setup? |
02/09/2012, 02:19 PM
|
#9 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
|
I saw a note in the opensh package about no longer requiring zlib and openssl. I ran into the segfault issue when ssh'ing out from the touchpad. I went ahead and installed the zlib package as well as the openssl package and now ssh is working swimmingly.
|
02/10/2012, 04:01 PM
|
#11 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Do the people having problems happen to have the Alpha Testing feed for optware enabled?
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
02/10/2012, 04:39 PM
|
#12 (permalink) |
|
Member
![]() Join Date: Jul 2010
Posts: 282
Likes Received: 84
Thanks: 26
Thanked 187 Times in 40 Posts
|
I need to know if people are only getting segfaults on 3.0.5 or if it happens on other versions too?
webOS 2.1.2, 2.2.4 etc. need to be tested.
__________________
Follow me on Twitter: http://twitter.com/warthogkernel Experimental warthog kernels for webOS devices. Patches such as Muffle System Logging, Max Blocker etc. Donations go towards further experimentation.
|
02/10/2012, 07:24 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 41
Likes Received: 1
Thanks: 8
Thanked 27 Times in 12 Posts
|
I had the same problem with franken pre2 on 2.2.4 until I installed zlip and openssl as reccomended. Still getting Connection refused when trying to connect to the franken pre2 from computer or touchpad. Alpha Testing feed for optware is disabled.
|
02/10/2012, 07:26 PM
|
#14 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
|
02/10/2012, 08:08 PM
|
#16 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
openssh_5.9.1-4 now in the feeds.
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



