From 373f0102150f32dad963d3f4b953cf5bb2858039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 28 Sep 2025 22:00:36 +0300 Subject: [PATCH] Init.ps1 Update --- init.ps1 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/init.ps1 b/init.ps1 index c990568..8b7e294 100644 --- a/init.ps1 +++ b/init.ps1 @@ -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 ""