Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: DanielH on April 06, 2023, 08:26:55 PM

Title: ssh on RPi 1B: how to save ssh keys (persistent /opt, /tce and /home)
Post by: DanielH on April 06, 2023, 08:26:55 PM
I've installed TCL in a RPi headless, with persistent /opt and /tce directories in the SDcard, and /home directory in a 32 GB pendrive.
I usually access my RPi using ssh and sshfs (no monitor, nor keyboard, nor mouse).

RPi 1B tends to hang randomless, I have no clue about the reason  :(
So, I have to restart the RPi by "hardware forcing": powering off and then, after some seconds, powering on again.

At new start, ssh key of RPi has be changed, so I have to do ssh-keygen -R {RPi LAN address) on the accessing PC and blindly accept the new key sent by RPi.

How to set RPi's ssh keys to be stored between starts (and restarts)?

Your answers will be appreciated.
Best regards, DanielH
Title: Re: ssh on RPi 1B: how to save ssh keys (persistent /opt, /tce and /home)
Post by: Rich on April 06, 2023, 08:40:28 PM
Hi DanielH
... How to set RPi's ssh keys to be stored between starts (and restarts)?
Check out the README:
http://tinycorelinux.net/12.x/armv7/releases/RPi/README
Title: Re: ssh on RPi 1B: how to save ssh keys (persistent /opt, /tce and /home)
Post by: mocore on April 14, 2023, 03:37:39 PM
How to set RPi's ssh keys to be stored between starts (and restarts)?
;)
https://wiki.tinycorelinux.net/doku.php?id=wiki:persistence_for_dummies#getting_tinycore_to_save_your_documents_and_settings
probably the above link can provide some enightement