WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ssh on RPi 1B: how to save ssh keys (persistent /opt, /tce and /home)  (Read 1038 times)

Offline DanielH

  • Newbie
  • *
  • Posts: 36
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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: ssh on RPi 1B: how to save ssh keys (persistent /opt, /tce and /home)
« Reply #1 on: April 06, 2023, 05: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

Offline mocore

  • Hero Member
  • *****
  • Posts: 508
  • ~.~
Re: ssh on RPi 1B: how to save ssh keys (persistent /opt, /tce and /home)
« Reply #2 on: April 14, 2023, 12: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