fix typo
authorAJ ONeal <aj@therootcompany.com>
Thu, 25 Jun 2020 06:20:00 +0000 (06:20 +0000)
committerAJ ONeal <aj@therootcompany.com>
Thu, 25 Jun 2020 06:20:00 +0000 (06:20 +0000)
ssh-utils/ssh-adduser.sh

index beb449297996d9ea3cc37020eb6a655eaef7d56f..250cc7e737608bd358baa7c3676b454b3c98a86c 100644 (file)
@@ -26,7 +26,7 @@
     sudo -i -u me bash -c 'ssh-keygen -b 2048 -t rsa -f /home/me/.ssh/id_rsa -q -N ""'
     mkdir -p /home/me/.ssh/
     cp -r $HOME/.ssh/authorized_keys /home/me/.ssh/
-    chmod 0600 me:me /home/me/.ssh/authorized_keys
+    chmod 0600 /home/me/.ssh/authorized_keys
     chown -R me:me /home/me/.ssh/
 
     # Install webi for the new user