From fcaf05d4dabca59a34b7becee3c242cf7903d91f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 1 Jun 2019 05:09:59 +0000 Subject: [PATCH] typo fixes --- add-repo-user.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/add-repo-user.sh b/add-repo-user.sh index d4a76cd..b08d36f 100755 --- a/add-repo-user.sh +++ b/add-repo-user.sh @@ -18,7 +18,7 @@ set -x sudo adduser --disabled-password --gecos "Git Site Deploys" --home "$my_repos" --no-create-home $my_user >/dev/null sudo mkdir -p "$my_repos/.ssh" "$my_www" sudo chmod 0700 "$my_repos/.ssh" -sudo ssh-keygen -t rsa -N "" -c "$my_user@$(hostname)" -f "$my_repos/.ssh/id_rsa" +sudo ssh-keygen -t rsa -N "" -C "$my_user@$(hostname)" -f "$my_repos/.ssh/id_rsa" sudo install -m 0600 /dev/null "$my_repos/.ssh/authorized_keys" sudo chown -R $my_user:$my_user "$my_repos" "$my_www" set +x @@ -27,5 +27,5 @@ echo "" echo "" echo "To enable git deploys from this account you will need to add its public key to your git deployer:" echo "" -cat "$my_repos/.ssh/id_rsa" +sudo cat "$my_repos/.ssh/id_rsa.pub" echo ""