Don't worry I'm doing it differently now anyway. Regards Michael Knill
From: Michael Knill <michael.kn...@ipcsolutions.com.au> Reply to: AstLinux List <astlinux-users@lists.sourceforge.net> Date: Thursday, 13 February 2020 at 9:17 pm To: AstLinux List <astlinux-users@lists.sourceforge.net> Subject: [Astlinux-users] SSH Keys and .bashrc Hi Group I have a little problem that should be easy to fix I believe. I have now taken on another employee and I'm looking at simple management of SSH Keys as this is how we access our systems. I want to add individual key files to /mnt/kd/ssh_keys to do this. I also have /mnt/kd/root enabled but only to provide a custom .bashrc which sets a PATH variable. The problem is that if I have /mnt/kd/root enabled, the /root/.ssh/authorized_keys file is no longer dynamic e.g. it does not change if I change the files in /mnt/kd/ssh_keys and reboot. Is there any way to set this PATH variable without requiring /mnt/kd/root? Obviously rebooting is a pain to update so I assume that I can just cat /mnt/kd/ssh_keys/* > /tmp/root/.ssh/authorized_keys and all will be well. Thanks all. Regards Michael Knill
_______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.