Hello Robert,

It looks like some steps failed since I can see that under /etc/ssh there 
are only 4 files moduli  ssh_config  sshd_config and ssh.regenerate.
Is there a way to regenerate the missing files or repeat the  
bbb-eMMC-flasher-eewiki?

 

Le lundi 6 juin 2016 15:51:02 UTC+2, RobertCNelson a écrit :
>
> On Mon, Jun 6, 2016 at 8:35 AM, malkowki <[email protected] 
> <javascript:>> wrote: 
> > Dear, 
> > 
> > It appears that I cannot ssh my BBB REVC after having flashed my eMMC 
> using 
> > the the Robert Nelson script  bbb-eMMC-flasher-eewiki-ext4.sh 
> > My kernel version is 4.1.21-bone-rt-r20. 
> > I have checked the etc/ssh/ directory and I could see that all the 
> ssh_host 
> > ... files are gone as a result that I cannot establich any ssh 
> connection to 
> > the board via the port22 while I can ping the board and access the 
> apache 
> > webserver. 
> > 
> > Is there a way to recover all this files so that I can restore the SSH 
> > connection? 
> > 
> > thanks in advance for a reply. 
>
> They should be auto-generated on first bootup: 
>
> bbb-eMMC-flasher-eewiki-ext4.sh, set's the trigger file: 
> /etc/ssh/ssh.regenerate 
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/bbb-eMMC-flasher-eewiki-ext4.sh#L342-L346
>  
>
> Then the script on bootup that see's that, will delete /etc/ssh/* and 
> regenerated it via: 
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/boot/generic-startup.sh#L12-L33
>  
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d2e690ee-e27c-48de-8a7a-84e24e88ff49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to