Init.ps1 Update
This commit is contained in:
20
init.ps1
20
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 ""
|
||||
|
Reference in New Issue
Block a user