lib/templates/create/recipes/ssh_key.sh in sunzi-0.5.1 vs lib/templates/create/recipes/ssh_key.sh in sunzi-0.6.0

- old
+ new

@@ -3,9 +3,10 @@ if [ -f ~/.ssh/authorized_keys ]; then echo 'authorized_keys already created' else if [ -f "files/$1" ]; then + echo 'Creating authorized_keys' mkdir -p ~/.ssh cat "files/$1" > ~/.ssh/authorized_keys rm "files/$1" chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys