From 48fc99bea9b71e719a518d8f758eb9b6cf26a356 Mon Sep 17 00:00:00 2001 From: Honahuku Date: Wed, 17 Jan 2024 11:06:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=81=AE=E4=BD=8D=E7=BD=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update-ssh-keys/update_sshkeys.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-ssh-keys/update_sshkeys.sh b/update-ssh-keys/update_sshkeys.sh index 4fc062a..4abc506 100755 --- a/update-ssh-keys/update_sshkeys.sh +++ b/update-ssh-keys/update_sshkeys.sh @@ -16,8 +16,8 @@ chmod 600 "$USER_HOME"/.ssh/authorized_keys # GitHubユーザー名を設定 GITHUB_USERNAME="honahuku" -set +x # GitHubからSSH公開鍵を取得してauthorized_keysを更新 +set +x KEYS=$(wget -O - "https://github.com/${GITHUB_USERNAME}.keys") if [ -n "$KEYS" ]; then echo "$KEYS" >| "$USER_HOME"/.ssh/authorized_keys