This commit is contained in:
2025-10-31 22:56:27 +09:00
parent a457670d25
commit 5cfacfb168
3 changed files with 2 additions and 10 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
if [ ! -f "$key" ]; then
umask 077
mkdir -p "$HOME/.ssh"
ssh-keygen -t ed25519 -N "" -f "$key" -C "${config.home.username}@$(hostnamectl --static 2>/dev/null || echo host)"
ssh-keygen -t ed25519 -N "" -f "$key" -C "moons@$(hostnamectl --static 2>/dev/null || echo host)"
echo "Generated SSH key at $key"
fi
'';