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 ""