drist

collection of scripts for use with drist
git clone git://git.pyratebeard.net/drist.git
Log | Files | Refs | README

script (257B)


      1 #!/bin/sh
      2 
      3 USERNAME="pyratebeard"
      4 
      5 [ -d /home/${USERNAME}/.ssh/ ] || mkdir /home/${USERNAME}/.ssh
      6 mv ./authorized_keys /home/${USERNAME}/.ssh/authorized_keys
      7 chmod 600 /home/${USERNAME}/.ssh/authorized_keys
      8 chown -R ${USERNAME}:users /home/${USERNAME}/.ssh