January 18, 201313 yr Hi mates. I use my unraid box apart from the usual NAS usage as a linux jump box to my seedbox. I've intalled ssh, and have a pair of distributed keys so not need to type secure passwords each time I make SCP / RSYNC / ... from and to my seedbox. But every time I need to reboot, or when the power comes dowm I loose all the /root/.ssh content and a few scripts I've have in the root's home directory. There are any way to preserve all the content inside /root directory or there are any prebuilt script that makes it? Thanks
January 18, 201313 yr I know there is an SSH plugin (but I have no experience with it). You could copy the contents of your .ssh directory to somewhere on your thumb drive, and then copy it back via a script that runs via go. You will likely need to change permissions of the files, and restart the ssh service after doing so.
January 18, 201313 yr Yup... that works. copy the files you need to save to your thumbdrive and copy them back at the end of your go file ..
January 20, 201313 yr Author I will check it, and if I write and start and stop script i'll share it in The forum.
January 20, 201313 yr In case you didn't know, unRAID boots by unpacking the image file from the flash drive into memory so the filesystem is recreated on each boot.
Archived
This topic is now archived and is closed to further replies.