Re: [Astlinux-users] ssh_keys directory

2014-02-13 Thread Michael Knill
Yes thought so. Thanks again. All legacy so I will remove /mnt/kd/root Regards Michael Knill On 14/02/2014, at 11:35 AM, Lonnie Abelbeck wrote: > Michael, > > Correct, if /mnt/kd/root/ exists then /root is persistent, linked to it. > > FYI, /etc/init.d/sshd has your answer... > > -- > #

Re: [Astlinux-users] ssh_keys directory

2014-02-13 Thread Lonnie Abelbeck
Michael, Correct, if /mnt/kd/root/ exists then /root is persistent, linked to it. FYI, /etc/init.d/sshd has your answer... -- # in case /root isn't persistent. if [ ! -d /root/.ssh ]; then mkdir /root/.ssh fi if [ ! -f /root/.ssh/authorized_keys ]; then ... -- Lonnie On Feb 1

[Astlinux-users] ssh_keys directory

2014-02-13 Thread Michael Knill
Sorry me again. Not sure why I didnt realise this before. I have both the /mnt/kd/root directory and /mnt/kd/ssh_keys which is pointless as /mnt/kd/root/.ssh/authorized_keys will override the ssh_keys anyway. Is this correct? Regards Michael Knill ---