On Fri, Oct 11, 2013 at 12:00:30PM -0500, Anna wrote: > #!/bin/bash > mkdir /home/olpc/.ssh > cp authorized_keys /home/olpc/.ssh > chmod 700 /home/olpc/.ssh > chmod 644 /home/olpc/.ssh/authorized_keys > chown -R olpc:olpc /home/olpc/.ssh > su -c 'systemctl enable sshd.service' > su -c 'systemctl start sshd.service' > exit
I like to do this in olpc-os-builder instead, that way it is done by the time I reflash. Also, I use root@ rather than olpc@. For things that won't go out of my lab, I'd prefer it to be easy rather than secure. -- James Cameron http://quozl.linux.org.au/ _______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel