Restart SSH service (or even reboot board) from Cloud9 IDE?

50 views
Skip to first unread message

MikeG_BBB

unread,
Mar 11, 2014, 11:55:17 AM3/11/14
to beagl...@googlegroups.com
Twice in 6 months, my BBB has locked me out of an SSH connection (standard Angstrom distribution, the only additions are lighttpd and PHP, using a static IP). The standard
webserver on port 80 and a lighttpd server on port 6980 still work as does the Cloud9 IDE. The only way to get it back is a hard reset.

This normally wouldn't be an issue but I'm about to put a couple of these in a not-easily-accessible place.
 

Is there a way to restart SSH or even reboot the board from within the Cloud9 IDE? I could connect a "kill" circuit to one of the I/O and power cycle the board from Cloud9 but that's a bit messy.

 

toml...@gmail.com

unread,
May 14, 2015, 7:53:18 PM5/14/15
to beagl...@googlegroups.com
I need to reboot my c9.io too. Nothing?

Dieter Wirz

unread,
May 15, 2015, 4:32:51 AM5/15/15
to beagl...@googlegroups.com
chmod +s /sbin/reboot
Now all users can reboot, as well your webserver...
Note: this is _very_ insecure!
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Tom Long

unread,
May 15, 2015, 12:03:29 PM5/15/15
to beagl...@googlegroups.com
Thanks!

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/RwrttNtkvJA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages