ensure .ssh/config and .ssh/authorized_keys
[webi-installers/.git] / ssh-utils / ssh-adduser.sh
index e6c71126f612a60d17994a3783c17dd29c6caf40..621e31447a4a59e8f4fff2f307e72e52327ce56a 100644 (file)
@@ -31,6 +31,8 @@
     chmod 0700 /home/me/.ssh/
     cp -r "$HOME/.ssh/authorized_keys" /home/me/.ssh/
     chmod 0600 /home/me/.ssh/authorized_keys
+    touch /home/me/.ssh/config
+    chmod 0644 /home/me/.ssh/config
     chown -R me:me /home/me/.ssh/
 
     # ensure that 'me' has an SSH Keypair