Init.ps1 Update

This commit is contained in:
Christer Warén
2025-09-28 22:00:36 +03:00
parent 89dd3b084b
commit 373f010215

View File

@@ -1 +1,19 @@
ssh-keygen -f "$Env:USERPROFILE/.ssh/keys/infra" -t ed25519 -N '' -C "$Env:USERDOMAIN"
echo ""
echo ""
echo ""
echo "=============================="
echo ""
echo "Waren Init"
echo ""
echo "=============================="
echo ""
echo ""
echo "Generating SSH Key"
New-Item -ItemType Directory -Path "$Env:USERPROFILE\.ssh\keys" -Force
ssh-keygen -f "$Env:USERPROFILE\.ssh\keys\infra" -t ed25519 -C "$Env:USERDOMAIN"
echo ""
echo ""
echo "Copy SSH Key"
Get-Content "$Env:USERPROFILE\.ssh\keys\infra.pub"
echo ""
echo ""