On Mon, Jun 6, 2016 at 8:35 AM, malkowki <[email protected]> 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/CAOCHtYhg6Yc4phkGkXmNDgfFmJN4Vm1ENrwaj%3Do%3DpvVHU0H6Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to