mmgarci30 Posted January 18, 2013 Share Posted January 18, 2013 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 Quote Link to comment
sureguy Posted January 18, 2013 Share Posted January 18, 2013 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. Quote Link to comment
Helmonder Posted January 18, 2013 Share Posted January 18, 2013 Yup... that works. copy the files you need to save to your thumbdrive and copy them back at the end of your go file .. Quote Link to comment
mmgarci30 Posted January 20, 2013 Author Share Posted January 20, 2013 I will check it, and if I write and start and stop script i'll share it in The forum. Quote Link to comment
lionelhutz Posted January 20, 2013 Share Posted January 20, 2013 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.