projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cef05d3
)
fix typo
author
AJ ONeal
<aj@therootcompany.com>
Thu, 25 Jun 2020 06:20:00 +0000
(06:20 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Thu, 25 Jun 2020 06:20:00 +0000
(06:20 +0000)
ssh-utils/ssh-adduser.sh
patch
|
blob
|
history
diff --git
a/ssh-utils/ssh-adduser.sh
b/ssh-utils/ssh-adduser.sh
index beb449297996d9ea3cc37020eb6a655eaef7d56f..250cc7e737608bd358baa7c3676b454b3c98a86c 100644
(file)
--- a/
ssh-utils/ssh-adduser.sh
+++ b/
ssh-utils/ssh-adduser.sh
@@
-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