Skip to content

Commit aa63ca4

Browse files
committed
Bugs fixed
1 parent 1120597 commit aa63ca4

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

bashscript/createaccount.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ if [ -f /home/$NEWUSERNAME/.ssh/id_$TYPEKEY.pub ]; then
5656
fi
5757

5858
NAMEHOST=$(uname -n)
59-
6059
ssh-keygen -t $TYPEKEY -b $BITS -f /home/$NEWUSERNAME/.ssh/id_$TYPEKEY -C $NEWUSERNAME@$NAMEHOST -N ""
6160
cat /home/$NEWUSERNAME/.ssh/id_$TYPEKEY.pub > /home/$NEWUSERNAME/.ssh/authorized_keys
6261
sudo systemctl reload ssh
6362
sudo systemctl status ssh
6463

6564
echo "Successfully"
66-

bashscript/createaccountroot.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ sudo systemctl reload ssh
4444
sudo systemctl status ssh
4545

4646
echo "Successfully"
47-

0 commit comments

Comments
 (0)