07/06/2011, 07:20 PM
|
#1 (permalink) |
|
Member
![]()
Posts: 123
|
Hi all,
I've installed (via preware), OpenSSH and associated files, but have yet to be able to connect to the touchpad. Following all of the same procedures (from the WebOSInternals wiki), lets me get it working without a problem on my FrankenPre2, but not on the touchpad. Any advice from anyone who has it working? Thanks baldric |
07/06/2011, 09:13 PM
|
#2 (permalink) |
|
Member
![]() ![]() |
I had to redo my keys. Not sure why, but I wasn't able to just copy over an old key pair and reuse them. Did you get stuck on any particular step or it's just not working?
__________________
Appsotutely's Apps & Patches: Paid: Slide RSS | Multi Pane | Trip Traq BART | Wall Switch | Slide Master Free: Pane Free | Trip Traq HBLR | Nightstand Twitter: @appsotutely Paypal: Tip Jar |
07/07/2011, 12:16 AM
|
#4 (permalink) |
|
Member
![]()
Posts: 123
|
Howdy,
No not stuck, its just not working. After not getting it to work on the touchpad (twice), I then tried on the pre2 and it worked like a charm. That's why I thought I'd ask here in case there was some special case with the touchpad. Thanks baldric |
07/08/2011, 10:10 AM
|
#5 (permalink) |
|
Member
![]()
Posts: 9
|
Since I put 2.1.0 on my original Pre, I've had ssh issues. The wiki has you set the port to 222 (I think, been awhile and I use a different port). I can ssh in if I use "ssh -p 22 root@<ip>." which means that ssh is working, but not setting the right port. It's still using the default. I'm still looking around, but you may want the try the -p 22 to see if it's the same problem.
|
07/11/2011, 10:04 PM
|
#6 (permalink) | |
|
Member
![]() ![]()
Posts: 111
|
Quote:
You also need to be careful of the permissions on your ~/.ssh directory. Something I just discovered is that when you mount your WebOS device as a USB drive, it acts exactly like a USB stick, including everything in /media/internal being world writable. When ssh keys and configuration directories are involved, that's a big "oops". (and also a big d'oh! for me personally) |
|
07/20/2011, 07:10 AM
|
#8 (permalink) |
|
Member
![]() ![]() |
Huh. I had OpenSSH installed and working. Today I can't connect. Nova in and find the process isn't running. Look at Preware and it says OpenSSH is installed. Restart, still not running, no match for "ssh" in /var/log/messages, don't know what happened.
start mobi.optware.openssh and it's running again. For some reason it apparently isn't starting when the device restarts. |
08/18/2011, 02:44 AM
|
#10 (permalink) | |
|
Member
![]()
Posts: 1
|
Quote:
Code:
2011-08-18T07:30:10.525260Z [18] webos-device daemon.info upstart: (00018/301100297) Handling started event 2011-08-18T07:30:10.539843Z [18] webos-device daemon.warning upstart: (00018/315520741) mobi.optware.openssh main process (1993) terminated with status 2 2011-08-18T07:30:10.540072Z [18] webos-device daemon.warning upstart: (00018/315688593) mobi.optware.openssh main process ended, respawning 2011-08-18T07:30:10.540193Z [18] webos-device daemon.info upstart: (00018/315765778) mobi.optware.openssh state changed from running to stopping 2011-08-18T07:30:10.540310Z [18] webos-device daemon.info upstart: (00018/315898963) Handling stopping event 2011-08-18T07:30:10.540424Z [18] webos-device daemon.info upstart: (00018/316048000) mobi.optware.openssh state changed from stopping to killed 2011-08-18T07:30:10.540538Z [18] webos-device daemon.info upstart: (00018/316132000) mobi.optware.openssh state changed from killed to post-stop 2011-08-18T07:30:10.540650Z [18] webos-device daemon.info upstart: (00018/316204889) mobi.optware.openssh state changed from post-stop to starting 2011-08-18T07:30:10.540765Z [18] webos-device daemon.warning upstart: (00018/316276445) mobi.optware.openssh respawn_count: 11 > respawn_limit: 10 2011-08-18T07:30:10.540880Z [18] webos-device daemon.warning upstart: (00018/316345186) mobi.optware.openssh respawning too fast, stopped 2011-08-18T07:30:10.541000Z [18] webos-device daemon.info upstart: (00018/316411852) mobi.optware.openssh goal changed from start to stop 2011-08-18T07:30:10.541118Z [18] webos-device daemon.info upstart: (00018/316483408) mobi.optware.openssh state changed from starting to waiting 2011-08-18T07:30:10.541549Z [18] webos-device daemon.info upstart: (00018/316578667) Handling stopped event Uninstalling and reinstalling do not help. I tried installing Dropbear, and I have the same issue there. Does anybody have any ideas? Thanks! |
|
09/03/2011, 11:36 PM
|
#11 (permalink) |
|
Member
![]()
Posts: 1
|
having the same problem here on my Touchpad running Warthog kernel ... openssh (sshd) sometimes starts at boot, other times it does not. It's easy enough to get running by launching it through xterm, but it would sure be nice if it worked and started by itself all the same.
LC |
09/05/2011, 12:34 PM
|
#12 (permalink) |
|
Member
![]()
Posts: 13
|
Hi Guys,
I am having a different issue. When i try to putty into my touchpad I get the following error; Disconnected: No Supported authentication methods available (server sent: publickey.keyboard-interactive) When I ssh into the touchpad throuch novaterm I get the following; ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is xx:xx:xx:Xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'localhost' (RSA) to the list of known hosts. Permission denied (publickey,keyboard-interactive). Any help would be appreciated. Edit: Okay, got it working. I had to export the key. Follow these instructructions if you have the same issue that I did. http://www.webos-internals.org/wiki/Application:OpenSSH Last edited by ewalker101; 09/05/2011 at 03:15 PM. |
09/11/2011, 12:38 AM
|
#13 (permalink) |
|
Member
![]()
Posts: 6
|
For me, SSH worked fine. Today when I went to use it, I keep getting a connection refused error message. starting and stopping the aforementioned process does not fix the problem, nor does restarting the device.
What would cause it to suddenly stop working? |
09/12/2011, 07:45 PM
|
#17 (permalink) |
|
Member
![]()
Posts: 5
|
For anyone who got the respawn or sshd unable to start , you can fix it by modifying the upstart script mobi.optware.openssh either :
1) add "sleep 10" into pre-start section or 2) change "start on stopped finish" to "start on started up LunaReady" at the begining of the script. |
10/06/2011, 01:23 PM
|
#18 (permalink) | |
|
Member
![]()
Posts: 10
|
Quote:
It looks to me like sshd is trying to start too early with the default "start on stopped finish" line or the older "start on stopped finish and started org.webosinternals.optware" version. Adding the "sleep 10" will make each restart take a LONG time, and hopefully one of the 11 tries will be late enough that it will work. "start on started up LunaReady" seems to be incorrect syntax. "start on started LunaReady" seems to work for me with no "sleep 10" |
|
10/26/2011, 08:01 AM
|
#19 (permalink) |
|
Member
![]() |
Having the same problem here. Will try editing the upstart script. Frak I friggin' *hate* upstart! Sysv is so much cleaner and easy to understand / troubleshoot.
*update* "start on started LunaReady" works here. No sleep necessary.
__________________
: (){:|:&};: Last edited by knobbysideup; 10/27/2011 at 02:54 PM. |
10/26/2011, 08:34 AM
|
#20 (permalink) |
|
Member
![]()
Posts: 437
|
I had the same issue regarding openssh not starting. Modified the upstart script in /var/palm/event.d to use script rather than exec, and added a sleep for 20 before starting the daemon and it works consistently now. I think I PM'ed the maintainer of the issue, but never heard back. Also, I did not notice that this slows down boot up.
#exec script sleep 20 /opt/sbin/sshd -D -p 222 # Commented out the next because I I set a password for root and do not use keys # -o "PasswordAuthentication no" -o "PermitRootLogin without-password" end script
__________________
Sprint Treo 650 --> Sprint Treo 700p --> Sprint Centro --> Sprint Pre- --> AT&T Veer/ Pre 2/ Pre 3, Touchpad |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



