How to enable SSH in Single-user-mode(runlevel 1) ?

1,756 views
Skip to first unread message

Yiwei Zhang

unread,
May 19, 2014, 7:50:37 PM5/19/14
to beagl...@googlegroups.com

Environment: ubuntu-precise-12.04 on Beaglebone Black, no GUI

  1. System hang when I did "init 1" or "telinit 1". Commandline just stuck there.

  2. How to enable ssh service in single user mode? Since I just stuck on step 1, so I don't know the following steps are correct or not. I just add a new script to /etc/rc1.d/ directory which runs all the scripts inside in run level 1. The script is "start ssh" or "service ssh start" or "/etc/init.d/ssh start".

  3. If the first two steps are done, how could I ssh into the system? In single user mode, what's the user name for the system? In default run level 2, the user name is: ubuntu, with password: ubuntu. If I just type ssh ip address, it will use the user name of my Macbook by default. And I don't think ssh ubuntu@ip_address will work...

Sincerely

Sid Boyce

unread,
May 20, 2014, 4:43:48 PM5/20/14
to beagl...@googlegroups.com
ssh requires networking to be active which it isn't in runlevel 1.
Regards
Sid.
--
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.


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
Reply all
Reply to author
Forward
0 new messages