We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0042d2 + aa63ca4 commit ba852e1Copy full SHA for ba852e1
bashscript/createaccount.sh
@@ -56,11 +56,9 @@ if [ -f /home/$NEWUSERNAME/.ssh/id_$TYPEKEY.pub ]; then
56
fi
57
58
NAMEHOST=$(uname -n)
59
-
60
ssh-keygen -t $TYPEKEY -b $BITS -f /home/$NEWUSERNAME/.ssh/id_$TYPEKEY -C $NEWUSERNAME@$NAMEHOST -N ""
61
cat /home/$NEWUSERNAME/.ssh/id_$TYPEKEY.pub > /home/$NEWUSERNAME/.ssh/authorized_keys
62
sudo systemctl reload ssh
63
sudo systemctl status ssh
64
65
echo "Successfully"
66
bashscript/createaccountroot.sh
@@ -44,4 +44,3 @@ sudo systemctl reload ssh
44
45
46
47
0 commit comments