Skip to content
Permalink
Browse files

SSH Key Pair Cleanup

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 24, 2019
1 parent 210fdf9 commit 36d435f44455071b036eb38845c9b700aae407c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.sh
@@ -222,7 +222,7 @@ else
if [[ ! -e /home/$username/.ssh ]]; then
mkdir /home/$username/.ssh
fi
cp /home/nemsadmin/.ssh/authorized_keys /home/$username/.ssh/
mv /home/nemsadmin/.ssh/authorized_keys /home/$username/.ssh/
chown $username:$username /home/$username/.ssh/authorized_keys
fi
echo Done.

0 comments on commit 36d435f

Please sign in to comment.
You can’t perform that action at this time.